@datapos/datapos-development 0.3.394 → 0.3.396

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
- import { promises as at } from "node:fs";
2
- import { nanoid as Xi } from "nanoid";
3
- import { contextConfigSchema as Qi, connectorConfigSchema as Ji, CONNECTOR_SOURCE_OPERATIONS as Yi, CONNECTOR_DESTINATION_OPERATIONS as Zi, presenterConfigSchema as ts } from "@datapos/datapos-shared";
1
+ import { promises as at, existsSync as Xi } from "node:fs";
2
+ import { nanoid as Qi } from "nanoid";
3
+ import { contextConfigSchema as Ji, connectorConfigSchema as Yi, CONNECTOR_SOURCE_OPERATIONS as Zi, CONNECTOR_DESTINATION_OPERATIONS as ts, presenterConfigSchema as es } from "@datapos/datapos-shared";
4
4
  import te from "node:path";
5
- import { promisify as es } from "node:util";
6
- import { exec as is, spawn as ss } from "node:child_process";
7
- import { fileURLToPath as ri, URL as rs } from "node:url";
5
+ import { promisify as is } from "node:util";
6
+ import { exec as ss, spawn as rs } from "node:child_process";
7
+ import { fileURLToPath as ri, URL as as } from "node:url";
8
8
  let xe;
9
9
  // @__NO_SIDE_EFFECTS__
10
- function as(t) {
10
+ function ns(t) {
11
11
  return {
12
12
  lang: t?.lang ?? xe?.lang,
13
13
  message: t?.message,
@@ -17,7 +17,7 @@ function as(t) {
17
17
  }
18
18
  // @__NO_SIDE_EFFECTS__
19
19
  function Ee(t, e, s) {
20
- const a = t["~run"]({ value: e }, /* @__PURE__ */ as(s));
20
+ const a = t["~run"]({ value: e }, /* @__PURE__ */ ns(s));
21
21
  return {
22
22
  typed: a.typed,
23
23
  success: !a.issues,
@@ -25,17 +25,17 @@ function Ee(t, e, s) {
25
25
  issues: a.issues
26
26
  };
27
27
  }
28
- var ns = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], ai = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191], os = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", ni = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ve = {
28
+ var os = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], ai = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191], hs = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", ni = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ve = {
29
29
  3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",
30
30
  5: "class enum extends super const export import",
31
31
  6: "enum",
32
32
  strict: "implements interface let package private protected public static yield",
33
33
  strictBind: "eval arguments"
34
- }, ge = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this", hs = {
34
+ }, ge = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this", us = {
35
35
  5: ge,
36
36
  "5module": ge + " export import",
37
37
  6: ge + " const class extends export import super"
38
- }, us = /^in(stanceof)?$/, cs = new RegExp("[" + ni + "]"), ps = new RegExp("[" + ni + os + "]");
38
+ }, cs = /^in(stanceof)?$/, ps = new RegExp("[" + ni + "]"), ls = new RegExp("[" + ni + hs + "]");
39
39
  function Pe(t, e) {
40
40
  for (var s = 65536, a = 0; a < e.length; a += 2) {
41
41
  if (s += e[a], s > t)
@@ -46,10 +46,10 @@ function Pe(t, e) {
46
46
  return !1;
47
47
  }
48
48
  function ft(t, e) {
49
- return t < 65 ? t === 36 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && cs.test(String.fromCharCode(t)) : e === !1 ? !1 : Pe(t, ai);
49
+ return t < 65 ? t === 36 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && ps.test(String.fromCharCode(t)) : e === !1 ? !1 : Pe(t, ai);
50
50
  }
51
51
  function vt(t, e) {
52
- return t < 48 ? t === 36 : t < 58 ? !0 : t < 65 ? !1 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && ps.test(String.fromCharCode(t)) : e === !1 ? !1 : Pe(t, ai) || Pe(t, ns);
52
+ return t < 48 ? t === 36 : t < 58 ? !0 : t < 65 ? !1 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && ls.test(String.fromCharCode(t)) : e === !1 ? !1 : Pe(t, ai) || Pe(t, os);
53
53
  }
54
54
  var O = function(e, s) {
55
55
  s === void 0 && (s = {}), this.label = e, this.keyword = s.keyword, this.beforeExpr = !!s.beforeExpr, this.startsExpr = !!s.startsExpr, this.isLoop = !!s.isLoop, this.isAssign = !!s.isAssign, this.prefix = !!s.prefix, this.postfix = !!s.postfix, this.binop = s.binop || null, this.updateContext = null;
@@ -167,24 +167,24 @@ function hi(t, e, s) {
167
167
  }
168
168
  return -1;
169
169
  }
170
- var Ie = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, G = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ui = Object.prototype, ls = ui.hasOwnProperty, fs = ui.toString, Rt = Object.hasOwn || (function(t, e) {
171
- return ls.call(t, e);
170
+ var Ie = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, W = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ui = Object.prototype, fs = ui.hasOwnProperty, ds = ui.toString, Rt = Object.hasOwn || (function(t, e) {
171
+ return fs.call(t, e);
172
172
  }), $e = Array.isArray || (function(t) {
173
- return fs.call(t) === "[object Array]";
174
- }), Ke = /* @__PURE__ */ Object.create(null);
173
+ return ds.call(t) === "[object Array]";
174
+ }), Ge = /* @__PURE__ */ Object.create(null);
175
175
  function kt(t) {
176
- return Ke[t] || (Ke[t] = new RegExp("^(?:" + t.replace(/ /g, "|") + ")$"));
176
+ return Ge[t] || (Ge[t] = new RegExp("^(?:" + t.replace(/ /g, "|") + ")$"));
177
177
  }
178
178
  function gt(t) {
179
179
  return t <= 65535 ? String.fromCharCode(t) : (t -= 65536, String.fromCharCode((t >> 10) + 55296, (t & 1023) + 56320));
180
180
  }
181
- var ds = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, Ot = function(e, s) {
181
+ var ms = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, Ot = function(e, s) {
182
182
  this.line = e, this.column = s;
183
183
  };
184
184
  Ot.prototype.offset = function(e) {
185
185
  return new Ot(this.line, this.column + e);
186
186
  };
187
- var Kt = function(e, s, a) {
187
+ var Gt = function(e, s, a) {
188
188
  this.start = s, this.end = a, e.sourceFile !== null && (this.source = e.sourceFile);
189
189
  };
190
190
  function _e(t, e) {
@@ -291,41 +291,41 @@ var ee = {
291
291
  // When enabled, parenthesized expressions are represented by
292
292
  // (non-standard) ParenthesizedExpression nodes
293
293
  preserveParens: !1
294
- }, We = !1;
295
- function ms(t) {
294
+ }, Ke = !1;
295
+ function ys(t) {
296
296
  var e = {};
297
297
  for (var s in ee)
298
298
  e[s] = t && Rt(t, s) ? t[s] : ee[s];
299
- if (e.ecmaVersion === "latest" ? e.ecmaVersion = 1e8 : e.ecmaVersion == null ? (!We && typeof console == "object" && console.warn && (We = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
299
+ if (e.ecmaVersion === "latest" ? e.ecmaVersion = 1e8 : e.ecmaVersion == null ? (!Ke && typeof console == "object" && console.warn && (Ke = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
300
300
  Defaulting to 2020, but this will stop working in the future.`)), e.ecmaVersion = 11) : e.ecmaVersion >= 2015 && (e.ecmaVersion -= 2009), e.allowReserved == null && (e.allowReserved = e.ecmaVersion < 5), (!t || t.allowHashBang == null) && (e.allowHashBang = e.ecmaVersion >= 14), $e(e.onToken)) {
301
301
  var a = e.onToken;
302
302
  e.onToken = function(o) {
303
303
  return a.push(o);
304
304
  };
305
305
  }
306
- return $e(e.onComment) && (e.onComment = ys(e, e.onComment)), e;
306
+ return $e(e.onComment) && (e.onComment = xs(e, e.onComment)), e;
307
307
  }
308
- function ys(t, e) {
309
- return function(s, a, o, f, d, v) {
308
+ function xs(t, e) {
309
+ return function(s, a, o, l, d, v) {
310
310
  var g = {
311
311
  type: s ? "Block" : "Line",
312
312
  value: a,
313
313
  start: o,
314
- end: f
314
+ end: l
315
315
  };
316
- t.locations && (g.loc = new Kt(this, d, v)), t.ranges && (g.range = [o, f]), e.push(g);
316
+ t.locations && (g.loc = new Gt(this, d, v)), t.ranges && (g.range = [o, l]), e.push(g);
317
317
  };
318
318
  }
319
- var Ht = 1, Mt = 2, Ne = 4, ci = 8, Le = 16, pi = 32, he = 64, li = 128, It = 256, Wt = 512, ue = Ht | Mt | It;
319
+ var Ht = 1, Mt = 2, Ne = 4, ci = 8, Le = 16, pi = 32, he = 64, li = 128, It = 256, Kt = 512, ue = Ht | Mt | It;
320
320
  function Oe(t, e) {
321
321
  return Mt | (t ? Ne : 0) | (e ? ci : 0);
322
322
  }
323
323
  var ie = 0, Re = 1, Tt = 2, fi = 3, di = 4, mi = 5, H = function(e, s, a) {
324
- this.options = e = ms(e), this.sourceFile = e.sourceFile, this.keywords = kt(hs[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
324
+ this.options = e = ys(e), this.sourceFile = e.sourceFile, this.keywords = kt(us[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
325
325
  var o = "";
326
326
  e.allowReserved !== !0 && (o = ve[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (o += " await")), this.reservedWords = kt(o);
327
- var f = (o ? o + " " : "") + ve.strict;
328
- this.reservedWordsStrict = kt(f), this.reservedWordsStrictBind = kt(f + " " + ve.strictBind), this.input = String(s), this.containsEsc = !1, a ? (this.pos = a, this.lineStart = this.input.lastIndexOf(`
327
+ var l = (o ? o + " " : "") + ve.strict;
328
+ this.reservedWordsStrict = kt(l), this.reservedWordsStrictBind = kt(l + " " + ve.strictBind), this.input = String(s), this.containsEsc = !1, a ? (this.pos = a, this.lineStart = this.input.lastIndexOf(`
329
329
  `, a - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(Q).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = u.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(Ht), this.regexpState = null, this.privateNameStack = [];
330
330
  }, mt = { inFunction: { configurable: !0 }, inGenerator: { configurable: !0 }, inAsync: { configurable: !0 }, canAwait: { configurable: !0 }, allowSuper: { configurable: !0 }, allowDirectSuper: { configurable: !0 }, treatFunctionsAsVar: { configurable: !0 }, allowNewDotTarget: { configurable: !0 }, inClassStaticBlock: { configurable: !0 } };
331
331
  H.prototype.parse = function() {
@@ -344,7 +344,7 @@ mt.inAsync.get = function() {
344
344
  mt.canAwait.get = function() {
345
345
  for (var t = this.scopeStack.length - 1; t >= 0; t--) {
346
346
  var e = this.scopeStack[t], s = e.flags;
347
- if (s & (It | Wt))
347
+ if (s & (It | Kt))
348
348
  return !1;
349
349
  if (s & Mt)
350
350
  return (s & Ne) > 0;
@@ -364,7 +364,7 @@ mt.treatFunctionsAsVar.get = function() {
364
364
  mt.allowNewDotTarget.get = function() {
365
365
  for (var t = this.scopeStack.length - 1; t >= 0; t--) {
366
366
  var e = this.scopeStack[t], s = e.flags;
367
- if (s & (It | Wt) || s & Mt && !(s & Le))
367
+ if (s & (It | Kt) || s & Mt && !(s & Le))
368
368
  return !0;
369
369
  }
370
370
  return !1;
@@ -389,21 +389,21 @@ H.tokenizer = function(e, s) {
389
389
  return new this(s, e);
390
390
  };
391
391
  Object.defineProperties(H.prototype, mt);
392
- var J = H.prototype, xs = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
392
+ var J = H.prototype, vs = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
393
393
  J.strictDirective = function(t) {
394
394
  if (this.options.ecmaVersion < 5)
395
395
  return !1;
396
396
  for (; ; ) {
397
- G.lastIndex = t, t += G.exec(this.input)[0].length;
398
- var e = xs.exec(this.input.slice(t));
397
+ W.lastIndex = t, t += W.exec(this.input)[0].length;
398
+ var e = vs.exec(this.input.slice(t));
399
399
  if (!e)
400
400
  return !1;
401
401
  if ((e[1] || e[2]) === "use strict") {
402
- G.lastIndex = t + e[0].length;
403
- var s = G.exec(this.input), a = s.index + s[0].length, o = this.input.charAt(a);
402
+ W.lastIndex = t + e[0].length;
403
+ var s = W.exec(this.input), a = s.index + s[0].length, o = this.input.charAt(a);
404
404
  return o === ";" || o === "}" || Q.test(s[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(o) || o === "!" && this.input.charAt(a + 1) === "=");
405
405
  }
406
- t += e[0].length, G.lastIndex = t, t += G.exec(this.input)[0].length, this.input[t] === ";" && t++;
406
+ t += e[0].length, W.lastIndex = t, t += W.exec(this.input)[0].length, this.input[t] === ";" && t++;
407
407
  }
408
408
  };
409
409
  J.eat = function(t) {
@@ -471,17 +471,17 @@ w.parseTopLevel = function(t) {
471
471
  }
472
472
  if (this.inModule)
473
473
  for (var a = 0, o = Object.keys(this.undefinedExports); a < o.length; a += 1) {
474
- var f = o[a];
475
- this.raiseRecoverable(this.undefinedExports[f].start, "Export '" + f + "' is not defined");
474
+ var l = o[a];
475
+ this.raiseRecoverable(this.undefinedExports[l].start, "Export '" + l + "' is not defined");
476
476
  }
477
477
  return this.adaptDirectivePrologue(t.body), this.next(), t.sourceType = this.options.sourceType, this.finishNode(t, "Program");
478
478
  };
479
- var Me = { kind: "loop" }, vs = { kind: "switch" };
479
+ var Me = { kind: "loop" }, gs = { kind: "switch" };
480
480
  w.isLet = function(t) {
481
481
  if (this.options.ecmaVersion < 6 || !this.isContextual("let"))
482
482
  return !1;
483
- G.lastIndex = this.pos;
484
- var e = G.exec(this.input), s = this.pos + e[0].length, a = this.input.charCodeAt(s);
483
+ W.lastIndex = this.pos;
484
+ var e = W.exec(this.input), s = this.pos + e[0].length, a = this.input.charCodeAt(s);
485
485
  if (a === 91 || a === 92)
486
486
  return !0;
487
487
  if (t)
@@ -493,8 +493,8 @@ w.isLet = function(t) {
493
493
  ++o;
494
494
  if (a === 92 || a > 55295 && a < 56320)
495
495
  return !0;
496
- var f = this.input.slice(s, o);
497
- if (!us.test(f))
496
+ var l = this.input.slice(s, o);
497
+ if (!cs.test(l))
498
498
  return !0;
499
499
  }
500
500
  return !1;
@@ -502,23 +502,23 @@ w.isLet = function(t) {
502
502
  w.isAsyncFunction = function() {
503
503
  if (this.options.ecmaVersion < 8 || !this.isContextual("async"))
504
504
  return !1;
505
- G.lastIndex = this.pos;
506
- var t = G.exec(this.input), e = this.pos + t[0].length, s;
505
+ W.lastIndex = this.pos;
506
+ var t = W.exec(this.input), e = this.pos + t[0].length, s;
507
507
  return !Q.test(this.input.slice(this.pos, e)) && this.input.slice(e, e + 8) === "function" && (e + 8 === this.input.length || !(vt(s = this.input.charCodeAt(e + 8)) || s > 55295 && s < 56320));
508
508
  };
509
509
  w.isUsingKeyword = function(t, e) {
510
510
  if (this.options.ecmaVersion < 17 || !this.isContextual(t ? "await" : "using"))
511
511
  return !1;
512
- G.lastIndex = this.pos;
513
- var s = G.exec(this.input), a = this.pos + s[0].length;
512
+ W.lastIndex = this.pos;
513
+ var s = W.exec(this.input), a = this.pos + s[0].length;
514
514
  if (Q.test(this.input.slice(this.pos, a)))
515
515
  return !1;
516
516
  if (t) {
517
- var o = a + 5, f;
518
- if (this.input.slice(a, o) !== "using" || o === this.input.length || vt(f = this.input.charCodeAt(o)) || f > 55295 && f < 56320)
517
+ var o = a + 5, l;
518
+ if (this.input.slice(a, o) !== "using" || o === this.input.length || vt(l = this.input.charCodeAt(o)) || l > 55295 && l < 56320)
519
519
  return !1;
520
- G.lastIndex = o;
521
- var d = G.exec(this.input);
520
+ W.lastIndex = o;
521
+ var d = W.exec(this.input);
522
522
  if (d && Q.test(this.input.slice(o, o + d[0].length)))
523
523
  return !1;
524
524
  }
@@ -537,8 +537,8 @@ w.isUsing = function(t) {
537
537
  return this.isUsingKeyword(!1, t);
538
538
  };
539
539
  w.parseStatement = function(t, e, s) {
540
- var a = this.type, o = this.startNode(), f;
541
- switch (this.isLet(t) && (a = u._var, f = "let"), a) {
540
+ var a = this.type, o = this.startNode(), l;
541
+ switch (this.isLet(t) && (a = u._var, l = "let"), a) {
542
542
  case u._break:
543
543
  case u._continue:
544
544
  return this.parseBreakContinueStatement(o, a.keyword);
@@ -564,7 +564,7 @@ w.parseStatement = function(t, e, s) {
564
564
  return this.parseTryStatement(o);
565
565
  case u._const:
566
566
  case u._var:
567
- return f = f || this.value, t && f !== "var" && this.unexpected(), this.parseVarStatement(o, f);
567
+ return l = l || this.value, t && l !== "var" && this.unexpected(), this.parseVarStatement(o, l);
568
568
  case u._while:
569
569
  return this.parseWhileStatement(o);
570
570
  case u._with:
@@ -576,8 +576,8 @@ w.parseStatement = function(t, e, s) {
576
576
  case u._export:
577
577
  case u._import:
578
578
  if (this.options.ecmaVersion > 10 && a === u._import) {
579
- G.lastIndex = this.pos;
580
- var d = G.exec(this.input), v = this.pos + d[0].length, g = this.input.charCodeAt(v);
579
+ W.lastIndex = this.pos;
580
+ var d = W.exec(this.input), v = this.pos + d[0].length, g = this.input.charCodeAt(v);
581
581
  if (g === 40 || g === 46)
582
582
  return this.parseExpressionStatement(o, this.parseExpression());
583
583
  }
@@ -623,13 +623,13 @@ w.parseForStatement = function(t) {
623
623
  var a = this.startNode(), o = s ? "let" : this.value;
624
624
  return this.next(), this.parseVar(a, !0, o), this.finishNode(a, "VariableDeclaration"), this.parseForAfterInit(t, a, e);
625
625
  }
626
- var f = this.isContextual("let"), d = !1, v = this.isUsing(!0) ? "using" : this.isAwaitUsing(!0) ? "await using" : null;
626
+ var l = this.isContextual("let"), d = !1, v = this.isUsing(!0) ? "using" : this.isAwaitUsing(!0) ? "await using" : null;
627
627
  if (v) {
628
628
  var g = this.startNode();
629
629
  return this.next(), v === "await using" && this.next(), this.parseVar(g, !0, v), this.finishNode(g, "VariableDeclaration"), this.parseForAfterInit(t, g, e);
630
630
  }
631
631
  var h = this.containsEsc, P = new ce(), N = this.start, B = e > -1 ? this.parseExprSubscripts(P, "await") : this.parseExpression(!0, P);
632
- return this.type === u._in || (d = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (e > -1 ? (this.type === u._in && this.unexpected(e), t.await = !0) : d && this.options.ecmaVersion >= 8 && (B.start === N && !h && B.type === "Identifier" && B.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (t.await = !1)), f && d && this.raise(B.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(B, !1, P), this.checkLValPattern(B), this.parseForIn(t, B)) : (this.checkExpressionErrors(P, !0), e > -1 && this.unexpected(e), this.parseFor(t, B));
632
+ return this.type === u._in || (d = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (e > -1 ? (this.type === u._in && this.unexpected(e), t.await = !0) : d && this.options.ecmaVersion >= 8 && (B.start === N && !h && B.type === "Identifier" && B.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (t.await = !1)), l && d && this.raise(B.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(B, !1, P), this.checkLValPattern(B), this.parseForIn(t, B)) : (this.checkExpressionErrors(P, !0), e > -1 && this.unexpected(e), this.parseFor(t, B));
633
633
  };
634
634
  w.parseForAfterInit = function(t, e, s) {
635
635
  return (this.type === u._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && e.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === u._in ? s > -1 && this.unexpected(s) : t.await = s > -1), this.parseForIn(t, e)) : (s > -1 && this.unexpected(s), this.parseFor(t, e));
@@ -644,7 +644,7 @@ w.parseReturnStatement = function(t) {
644
644
  return !this.inFunction && !this.options.allowReturnOutsideFunction && this.raise(this.start, "'return' outside of function"), this.next(), this.eat(u.semi) || this.insertSemicolon() ? t.argument = null : (t.argument = this.parseExpression(), this.semicolon()), this.finishNode(t, "ReturnStatement");
645
645
  };
646
646
  w.parseSwitchStatement = function(t) {
647
- this.next(), t.discriminant = this.parseParenExpression(), t.cases = [], this.expect(u.braceL), this.labels.push(vs), this.enterScope(0);
647
+ this.next(), t.discriminant = this.parseParenExpression(), t.cases = [], this.expect(u.braceL), this.labels.push(gs), this.enterScope(0);
648
648
  for (var e, s = !1; this.type !== u.braceR; )
649
649
  if (this.type === u._case || this.type === u._default) {
650
650
  var a = this.type === u._case;
@@ -656,7 +656,7 @@ w.parseSwitchStatement = function(t) {
656
656
  w.parseThrowStatement = function(t) {
657
657
  return this.next(), Q.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), t.argument = this.parseExpression(), this.semicolon(), this.finishNode(t, "ThrowStatement");
658
658
  };
659
- var gs = [];
659
+ var bs = [];
660
660
  w.parseCatchClauseParam = function() {
661
661
  var t = this.parseBindingAtom(), e = t.type === "Identifier";
662
662
  return this.enterScope(e ? pi : 0), this.checkLValPattern(t, e ? di : Tt), this.expect(u.parenR), t;
@@ -681,8 +681,8 @@ w.parseEmptyStatement = function(t) {
681
681
  return this.next(), this.finishNode(t, "EmptyStatement");
682
682
  };
683
683
  w.parseLabeledStatement = function(t, e, s, a) {
684
- for (var o = 0, f = this.labels; o < f.length; o += 1) {
685
- var d = f[o];
684
+ for (var o = 0, l = this.labels; o < l.length; o += 1) {
685
+ var d = l[o];
686
686
  d.name === e && this.raise(s.start, "Label '" + e + "' is already declared");
687
687
  }
688
688
  for (var v = this.type.isLoop ? "loop" : this.type === u._switch ? "switch" : null, g = this.labels.length - 1; g >= 0; g--) {
@@ -728,8 +728,8 @@ w.parseVarId = function(t, e) {
728
728
  var Ut = 1, Ce = 2, yi = 4;
729
729
  w.parseFunction = function(t, e, s, a, o) {
730
730
  this.initFunction(t), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !a) && (this.type === u.star && e & Ce && this.unexpected(), t.generator = this.eat(u.star)), this.options.ecmaVersion >= 8 && (t.async = !!a), e & Ut && (t.id = e & yi && this.type !== u.name ? null : this.parseIdent(), t.id && !(e & Ce) && this.checkLValSimple(t.id, this.strict || t.generator || t.async ? this.treatFunctionsAsVar ? Re : Tt : fi));
731
- var f = this.yieldPos, d = this.awaitPos, v = this.awaitIdentPos;
732
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Oe(t.async, t.generator)), e & Ut || (t.id = this.type === u.name ? this.parseIdent() : null), this.parseFunctionParams(t), this.parseFunctionBody(t, s, !1, o), this.yieldPos = f, this.awaitPos = d, this.awaitIdentPos = v, this.finishNode(t, e & Ut ? "FunctionDeclaration" : "FunctionExpression");
731
+ var l = this.yieldPos, d = this.awaitPos, v = this.awaitIdentPos;
732
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Oe(t.async, t.generator)), e & Ut || (t.id = this.type === u.name ? this.parseIdent() : null), this.parseFunctionParams(t), this.parseFunctionBody(t, s, !1, o), this.yieldPos = l, this.awaitPos = d, this.awaitIdentPos = v, this.finishNode(t, e & Ut ? "FunctionDeclaration" : "FunctionExpression");
733
733
  };
734
734
  w.parseFunctionParams = function(t) {
735
735
  this.expect(u.parenL), t.params = this.parseBindingList(u.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
@@ -738,29 +738,29 @@ w.parseClass = function(t, e) {
738
738
  this.next();
739
739
  var s = this.strict;
740
740
  this.strict = !0, this.parseClassId(t, e), this.parseClassSuper(t);
741
- var a = this.enterClassBody(), o = this.startNode(), f = !1;
741
+ var a = this.enterClassBody(), o = this.startNode(), l = !1;
742
742
  for (o.body = [], this.expect(u.braceL); this.type !== u.braceR; ) {
743
743
  var d = this.parseClassElement(t.superClass !== null);
744
- d && (o.body.push(d), d.type === "MethodDefinition" && d.kind === "constructor" ? (f && this.raiseRecoverable(d.start, "Duplicate constructor in the same class"), f = !0) : d.key && d.key.type === "PrivateIdentifier" && bs(a, d) && this.raiseRecoverable(d.key.start, "Identifier '#" + d.key.name + "' has already been declared"));
744
+ d && (o.body.push(d), d.type === "MethodDefinition" && d.kind === "constructor" ? (l && this.raiseRecoverable(d.start, "Duplicate constructor in the same class"), l = !0) : d.key && d.key.type === "PrivateIdentifier" && Ts(a, d) && this.raiseRecoverable(d.key.start, "Identifier '#" + d.key.name + "' has already been declared"));
745
745
  }
746
746
  return this.strict = s, this.next(), t.body = this.finishNode(o, "ClassBody"), this.exitClassBody(), this.finishNode(t, e ? "ClassDeclaration" : "ClassExpression");
747
747
  };
748
748
  w.parseClassElement = function(t) {
749
749
  if (this.eat(u.semi))
750
750
  return null;
751
- var e = this.options.ecmaVersion, s = this.startNode(), a = "", o = !1, f = !1, d = "method", v = !1;
751
+ var e = this.options.ecmaVersion, s = this.startNode(), a = "", o = !1, l = !1, d = "method", v = !1;
752
752
  if (this.eatContextual("static")) {
753
753
  if (e >= 13 && this.eat(u.braceL))
754
754
  return this.parseClassStaticBlock(s), s;
755
755
  this.isClassElementNameStart() || this.type === u.star ? v = !0 : a = "static";
756
756
  }
757
- if (s.static = v, !a && e >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === u.star) && !this.canInsertSemicolon() ? f = !0 : a = "async"), !a && (e >= 9 || !f) && this.eat(u.star) && (o = !0), !a && !f && !o) {
757
+ if (s.static = v, !a && e >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === u.star) && !this.canInsertSemicolon() ? l = !0 : a = "async"), !a && (e >= 9 || !l) && this.eat(u.star) && (o = !0), !a && !l && !o) {
758
758
  var g = this.value;
759
759
  (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? d = g : a = g);
760
760
  }
761
- if (a ? (s.computed = !1, s.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), s.key.name = a, this.finishNode(s.key, "Identifier")) : this.parseClassElementName(s), e < 13 || this.type === u.parenL || d !== "method" || o || f) {
761
+ if (a ? (s.computed = !1, s.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), s.key.name = a, this.finishNode(s.key, "Identifier")) : this.parseClassElementName(s), e < 13 || this.type === u.parenL || d !== "method" || o || l) {
762
762
  var h = !s.static && se(s, "constructor"), P = h && t;
763
- h && d !== "method" && this.raise(s.key.start, "Constructor can't have get/set modifier"), s.kind = h ? "constructor" : d, this.parseClassMethod(s, o, f, P);
763
+ h && d !== "method" && this.raise(s.key.start, "Constructor can't have get/set modifier"), s.kind = h ? "constructor" : d, this.parseClassMethod(s, o, l, P);
764
764
  } else
765
765
  this.parseClassField(s);
766
766
  return s;
@@ -774,11 +774,11 @@ w.parseClassElementName = function(t) {
774
774
  w.parseClassMethod = function(t, e, s, a) {
775
775
  var o = t.key;
776
776
  t.kind === "constructor" ? (e && this.raise(o.start, "Constructor can't be a generator"), s && this.raise(o.start, "Constructor can't be an async method")) : t.static && se(t, "prototype") && this.raise(o.start, "Classes may not have a static property named prototype");
777
- var f = t.value = this.parseMethod(e, s, a);
778
- return t.kind === "get" && f.params.length !== 0 && this.raiseRecoverable(f.start, "getter should have no params"), t.kind === "set" && f.params.length !== 1 && this.raiseRecoverable(f.start, "setter should have exactly one param"), t.kind === "set" && f.params[0].type === "RestElement" && this.raiseRecoverable(f.params[0].start, "Setter cannot use rest params"), this.finishNode(t, "MethodDefinition");
777
+ var l = t.value = this.parseMethod(e, s, a);
778
+ return t.kind === "get" && l.params.length !== 0 && this.raiseRecoverable(l.start, "getter should have no params"), t.kind === "set" && l.params.length !== 1 && this.raiseRecoverable(l.start, "setter should have exactly one param"), t.kind === "set" && l.params[0].type === "RestElement" && this.raiseRecoverable(l.params[0].start, "Setter cannot use rest params"), this.finishNode(t, "MethodDefinition");
779
779
  };
780
780
  w.parseClassField = function(t) {
781
- return se(t, "constructor") ? this.raise(t.key.start, "Classes can't have a field named 'constructor'") : t.static && se(t, "prototype") && this.raise(t.key.start, "Classes can't have a static field named 'prototype'"), this.eat(u.eq) ? (this.enterScope(Wt | he), t.value = this.parseMaybeAssign(), this.exitScope()) : t.value = null, this.semicolon(), this.finishNode(t, "PropertyDefinition");
781
+ return se(t, "constructor") ? this.raise(t.key.start, "Classes can't have a field named 'constructor'") : t.static && se(t, "prototype") && this.raise(t.key.start, "Classes can't have a static field named 'prototype'"), this.eat(u.eq) ? (this.enterScope(Kt | he), t.value = this.parseMaybeAssign(), this.exitScope()) : t.value = null, this.semicolon(), this.finishNode(t, "PropertyDefinition");
782
782
  };
783
783
  w.parseClassStaticBlock = function(t) {
784
784
  t.body = [];
@@ -802,12 +802,12 @@ w.enterClassBody = function() {
802
802
  w.exitClassBody = function() {
803
803
  var t = this.privateNameStack.pop(), e = t.declared, s = t.used;
804
804
  if (this.options.checkPrivateFields)
805
- for (var a = this.privateNameStack.length, o = a === 0 ? null : this.privateNameStack[a - 1], f = 0; f < s.length; ++f) {
806
- var d = s[f];
805
+ for (var a = this.privateNameStack.length, o = a === 0 ? null : this.privateNameStack[a - 1], l = 0; l < s.length; ++l) {
806
+ var d = s[l];
807
807
  Rt(e, d.name) || (o ? o.used.push(d) : this.raiseRecoverable(d.start, "Private field '#" + d.name + "' must be declared in an enclosing class"));
808
808
  }
809
809
  };
810
- function bs(t, e) {
810
+ function Ts(t, e) {
811
811
  var s = e.key.name, a = t[s], o = "true";
812
812
  return e.type === "MethodDefinition" && (e.kind === "get" || e.kind === "set") && (o = (e.static ? "s" : "i") + e.kind), a === "iget" && o === "iset" || a === "iset" && o === "iget" || a === "sget" && o === "sset" || a === "sset" && o === "sget" ? (t[s] = "true", !1) : a ? !0 : (t[s] = o, !1);
813
813
  }
@@ -864,8 +864,8 @@ w.checkPatternExport = function(t, e) {
864
864
  this.checkExport(t, e, e.start);
865
865
  else if (s === "ObjectPattern")
866
866
  for (var a = 0, o = e.properties; a < o.length; a += 1) {
867
- var f = o[a];
868
- this.checkPatternExport(t, f);
867
+ var l = o[a];
868
+ this.checkPatternExport(t, l);
869
869
  }
870
870
  else if (s === "ArrayPattern")
871
871
  for (var d = 0, v = e.elements; d < v.length; d += 1) {
@@ -904,7 +904,7 @@ w.parseExportSpecifiers = function(t) {
904
904
  return e;
905
905
  };
906
906
  w.parseImport = function(t) {
907
- return this.next(), this.type === u.string ? (t.specifiers = gs, t.source = this.parseExprAtom()) : (t.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), t.source = this.type === u.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (t.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(t, "ImportDeclaration");
907
+ return this.next(), this.type === u.string ? (t.specifiers = bs, t.source = this.parseExprAtom()) : (t.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), t.source = this.type === u.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (t.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(t, "ImportDeclaration");
908
908
  };
909
909
  w.parseImportSpecifier = function() {
910
910
  var t = this.startNode();
@@ -955,7 +955,7 @@ w.parseImportAttribute = function() {
955
955
  w.parseModuleExportName = function() {
956
956
  if (this.options.ecmaVersion >= 13 && this.type === u.string) {
957
957
  var t = this.parseLiteral(this.value);
958
- return ds.test(t.value) && this.raise(t.start, "An export name cannot include a lone surrogate."), t;
958
+ return ms.test(t.value) && this.raise(t.start, "An export name cannot include a lone surrogate."), t;
959
959
  }
960
960
  return this.parseIdent(!0);
961
961
  };
@@ -982,8 +982,8 @@ pt.toAssignable = function(t, e, s) {
982
982
  case "ObjectExpression":
983
983
  t.type = "ObjectPattern", s && this.checkPatternErrors(s, !0);
984
984
  for (var a = 0, o = t.properties; a < o.length; a += 1) {
985
- var f = o[a];
986
- this.toAssignable(f, e), f.type === "RestElement" && (f.argument.type === "ArrayPattern" || f.argument.type === "ObjectPattern") && this.raise(f.argument.start, "Unexpected token");
985
+ var l = o[a];
986
+ this.toAssignable(l, e), l.type === "RestElement" && (l.argument.type === "ArrayPattern" || l.argument.type === "ObjectPattern") && this.raise(l.argument.start, "Unexpected token");
987
987
  }
988
988
  break;
989
989
  case "Property":
@@ -1019,8 +1019,8 @@ pt.toAssignableList = function(t, e) {
1019
1019
  o && this.toAssignable(o, e);
1020
1020
  }
1021
1021
  if (s) {
1022
- var f = t[s - 1];
1023
- this.options.ecmaVersion === 6 && e && f && f.type === "RestElement" && f.argument.type !== "Identifier" && this.unexpected(f.argument.start);
1022
+ var l = t[s - 1];
1023
+ this.options.ecmaVersion === 6 && e && l && l.type === "RestElement" && l.argument.type !== "Identifier" && this.unexpected(l.argument.start);
1024
1024
  }
1025
1025
  return t;
1026
1026
  };
@@ -1044,8 +1044,8 @@ pt.parseBindingAtom = function() {
1044
1044
  return this.parseIdent();
1045
1045
  };
1046
1046
  pt.parseBindingList = function(t, e, s, a) {
1047
- for (var o = [], f = !0; !this.eat(t); )
1048
- if (f ? f = !1 : this.expect(u.comma), e && this.type === u.comma)
1047
+ for (var o = [], l = !0; !this.eat(t); )
1048
+ if (l ? l = !1 : this.expect(u.comma), e && this.type === u.comma)
1049
1049
  o.push(null);
1050
1050
  else {
1051
1051
  if (s && this.afterTrailingComma(t))
@@ -1095,8 +1095,8 @@ pt.checkLValPattern = function(t, e, s) {
1095
1095
  switch (e === void 0 && (e = ie), t.type) {
1096
1096
  case "ObjectPattern":
1097
1097
  for (var a = 0, o = t.properties; a < o.length; a += 1) {
1098
- var f = o[a];
1099
- this.checkLValInnerPattern(f, e, s);
1098
+ var l = o[a];
1099
+ this.checkLValInnerPattern(l, e, s);
1100
1100
  }
1101
1101
  break;
1102
1102
  case "ArrayPattern":
@@ -1124,8 +1124,8 @@ pt.checkLValInnerPattern = function(t, e, s) {
1124
1124
  this.checkLValPattern(t, e, s);
1125
1125
  }
1126
1126
  };
1127
- var X = function(e, s, a, o, f) {
1128
- this.token = e, this.isExpr = !!s, this.preserveSpace = !!a, this.override = o, this.generator = !!f;
1127
+ var X = function(e, s, a, o, l) {
1128
+ this.token = e, this.isExpr = !!s, this.preserveSpace = !!a, this.override = o, this.generator = !!l;
1129
1129
  }, F = {
1130
1130
  b_stat: new X("{", !1),
1131
1131
  b_expr: new X("{", !0),
@@ -1219,32 +1219,32 @@ _.checkPropClash = function(t, e, s) {
1219
1219
  default:
1220
1220
  return;
1221
1221
  }
1222
- var f = t.kind;
1222
+ var l = t.kind;
1223
1223
  if (this.options.ecmaVersion >= 6) {
1224
- o === "__proto__" && f === "init" && (e.proto && (s ? s.doubleProto < 0 && (s.doubleProto = a.start) : this.raiseRecoverable(a.start, "Redefinition of __proto__ property")), e.proto = !0);
1224
+ o === "__proto__" && l === "init" && (e.proto && (s ? s.doubleProto < 0 && (s.doubleProto = a.start) : this.raiseRecoverable(a.start, "Redefinition of __proto__ property")), e.proto = !0);
1225
1225
  return;
1226
1226
  }
1227
1227
  o = "$" + o;
1228
1228
  var d = e[o];
1229
1229
  if (d) {
1230
1230
  var v;
1231
- f === "init" ? v = this.strict && d.init || d.get || d.set : v = d.init || d[f], v && this.raiseRecoverable(a.start, "Redefinition of property");
1231
+ l === "init" ? v = this.strict && d.init || d.get || d.set : v = d.init || d[l], v && this.raiseRecoverable(a.start, "Redefinition of property");
1232
1232
  } else
1233
1233
  d = e[o] = {
1234
1234
  init: !1,
1235
1235
  get: !1,
1236
1236
  set: !1
1237
1237
  };
1238
- d[f] = !0;
1238
+ d[l] = !0;
1239
1239
  }
1240
1240
  };
1241
1241
  _.parseExpression = function(t, e) {
1242
1242
  var s = this.start, a = this.startLoc, o = this.parseMaybeAssign(t, e);
1243
1243
  if (this.type === u.comma) {
1244
- var f = this.startNodeAt(s, a);
1245
- for (f.expressions = [o]; this.eat(u.comma); )
1246
- f.expressions.push(this.parseMaybeAssign(t, e));
1247
- return this.finishNode(f, "SequenceExpression");
1244
+ var l = this.startNodeAt(s, a);
1245
+ for (l.expressions = [o]; this.eat(u.comma); )
1246
+ l.expressions.push(this.parseMaybeAssign(t, e));
1247
+ return this.finishNode(l, "SequenceExpression");
1248
1248
  }
1249
1249
  return o;
1250
1250
  };
@@ -1254,8 +1254,8 @@ _.parseMaybeAssign = function(t, e, s) {
1254
1254
  return this.parseYield(t);
1255
1255
  this.exprAllowed = !1;
1256
1256
  }
1257
- var a = !1, o = -1, f = -1, d = -1;
1258
- e ? (o = e.parenthesizedAssign, f = e.trailingComma, d = e.doubleProto, e.parenthesizedAssign = e.trailingComma = -1) : (e = new ce(), a = !0);
1257
+ var a = !1, o = -1, l = -1, d = -1;
1258
+ e ? (o = e.parenthesizedAssign, l = e.trailingComma, d = e.doubleProto, e.parenthesizedAssign = e.trailingComma = -1) : (e = new ce(), a = !0);
1259
1259
  var v = this.start, g = this.startLoc;
1260
1260
  (this.type === u.parenL || this.type === u.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = t === "await");
1261
1261
  var h = this.parseMaybeConditional(t, e);
@@ -1264,15 +1264,15 @@ _.parseMaybeAssign = function(t, e, s) {
1264
1264
  return P.operator = this.value, this.type === u.eq && (h = this.toAssignable(h, !1, e)), a || (e.parenthesizedAssign = e.trailingComma = e.doubleProto = -1), e.shorthandAssign >= h.start && (e.shorthandAssign = -1), this.type === u.eq ? this.checkLValPattern(h) : this.checkLValSimple(h), P.left = h, this.next(), P.right = this.parseMaybeAssign(t), d > -1 && (e.doubleProto = d), this.finishNode(P, "AssignmentExpression");
1265
1265
  } else
1266
1266
  a && this.checkExpressionErrors(e, !0);
1267
- return o > -1 && (e.parenthesizedAssign = o), f > -1 && (e.trailingComma = f), h;
1267
+ return o > -1 && (e.parenthesizedAssign = o), l > -1 && (e.trailingComma = l), h;
1268
1268
  };
1269
1269
  _.parseMaybeConditional = function(t, e) {
1270
1270
  var s = this.start, a = this.startLoc, o = this.parseExprOps(t, e);
1271
1271
  if (this.checkExpressionErrors(e))
1272
1272
  return o;
1273
1273
  if (this.eat(u.question)) {
1274
- var f = this.startNodeAt(s, a);
1275
- return f.test = o, f.consequent = this.parseMaybeAssign(), this.expect(u.colon), f.alternate = this.parseMaybeAssign(t), this.finishNode(f, "ConditionalExpression");
1274
+ var l = this.startNodeAt(s, a);
1275
+ return l.test = o, l.consequent = this.parseMaybeAssign(), this.expect(u.colon), l.alternate = this.parseMaybeAssign(t), this.finishNode(l, "ConditionalExpression");
1276
1276
  }
1277
1277
  return o;
1278
1278
  };
@@ -1281,24 +1281,24 @@ _.parseExprOps = function(t, e) {
1281
1281
  return this.checkExpressionErrors(e) || o.start === s && o.type === "ArrowFunctionExpression" ? o : this.parseExprOp(o, s, a, -1, t);
1282
1282
  };
1283
1283
  _.parseExprOp = function(t, e, s, a, o) {
1284
- var f = this.type.binop;
1285
- if (f != null && (!o || this.type !== u._in) && f > a) {
1284
+ var l = this.type.binop;
1285
+ if (l != null && (!o || this.type !== u._in) && l > a) {
1286
1286
  var d = this.type === u.logicalOR || this.type === u.logicalAND, v = this.type === u.coalesce;
1287
- v && (f = u.logicalAND.binop);
1287
+ v && (l = u.logicalAND.binop);
1288
1288
  var g = this.value;
1289
1289
  this.next();
1290
- var h = this.start, P = this.startLoc, N = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, o), h, P, f, o), B = this.buildBinary(e, s, t, N, g, d || v);
1290
+ var h = this.start, P = this.startLoc, N = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, o), h, P, l, o), B = this.buildBinary(e, s, t, N, g, d || v);
1291
1291
  return (d && this.type === u.coalesce || v && (this.type === u.logicalOR || this.type === u.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(B, e, s, a, o);
1292
1292
  }
1293
1293
  return t;
1294
1294
  };
1295
- _.buildBinary = function(t, e, s, a, o, f) {
1295
+ _.buildBinary = function(t, e, s, a, o, l) {
1296
1296
  a.type === "PrivateIdentifier" && this.raise(a.start, "Private identifier can only be left side of binary expression");
1297
1297
  var d = this.startNodeAt(t, e);
1298
- return d.left = s, d.operator = o, d.right = a, this.finishNode(d, f ? "LogicalExpression" : "BinaryExpression");
1298
+ return d.left = s, d.operator = o, d.right = a, this.finishNode(d, l ? "LogicalExpression" : "BinaryExpression");
1299
1299
  };
1300
1300
  _.parseMaybeUnary = function(t, e, s, a) {
1301
- var o = this.start, f = this.startLoc, d;
1301
+ var o = this.start, l = this.startLoc, d;
1302
1302
  if (this.isContextual("await") && this.canAwait)
1303
1303
  d = this.parseAwait(a), e = !0;
1304
1304
  else if (this.type.prefix) {
@@ -1310,7 +1310,7 @@ _.parseMaybeUnary = function(t, e, s, a) {
1310
1310
  if (d = this.parseExprSubscripts(t, a), this.checkExpressionErrors(t))
1311
1311
  return d;
1312
1312
  for (; this.type.postfix && !this.canInsertSemicolon(); ) {
1313
- var h = this.startNodeAt(o, f);
1313
+ var h = this.startNodeAt(o, l);
1314
1314
  h.operator = this.value, h.prefix = !1, h.argument = d, this.checkLValSimple(d), this.next(), d = this.finishNode(h, "UpdateExpression");
1315
1315
  }
1316
1316
  }
@@ -1318,7 +1318,7 @@ _.parseMaybeUnary = function(t, e, s, a) {
1318
1318
  if (e)
1319
1319
  this.unexpected(this.lastTokStart);
1320
1320
  else
1321
- return this.buildBinary(o, f, d, this.parseMaybeUnary(null, !1, !1, a), "**", !1);
1321
+ return this.buildBinary(o, l, d, this.parseMaybeUnary(null, !1, !1, a), "**", !1);
1322
1322
  else
1323
1323
  return d;
1324
1324
  };
@@ -1332,12 +1332,12 @@ _.parseExprSubscripts = function(t, e) {
1332
1332
  var s = this.start, a = this.startLoc, o = this.parseExprAtom(t, e);
1333
1333
  if (o.type === "ArrowFunctionExpression" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== ")")
1334
1334
  return o;
1335
- var f = this.parseSubscripts(o, s, a, !1, e);
1336
- return t && f.type === "MemberExpression" && (t.parenthesizedAssign >= f.start && (t.parenthesizedAssign = -1), t.parenthesizedBind >= f.start && (t.parenthesizedBind = -1), t.trailingComma >= f.start && (t.trailingComma = -1)), f;
1335
+ var l = this.parseSubscripts(o, s, a, !1, e);
1336
+ return t && l.type === "MemberExpression" && (t.parenthesizedAssign >= l.start && (t.parenthesizedAssign = -1), t.parenthesizedBind >= l.start && (t.parenthesizedBind = -1), t.trailingComma >= l.start && (t.trailingComma = -1)), l;
1337
1337
  };
1338
1338
  _.parseSubscripts = function(t, e, s, a, o) {
1339
- for (var f = this.options.ecmaVersion >= 8 && t.type === "Identifier" && t.name === "async" && this.lastTokEnd === t.end && !this.canInsertSemicolon() && t.end - t.start === 5 && this.potentialArrowAt === t.start, d = !1; ; ) {
1340
- var v = this.parseSubscript(t, e, s, a, f, d, o);
1339
+ for (var l = this.options.ecmaVersion >= 8 && t.type === "Identifier" && t.name === "async" && this.lastTokEnd === t.end && !this.canInsertSemicolon() && t.end - t.start === 5 && this.potentialArrowAt === t.start, d = !1; ; ) {
1340
+ var v = this.parseSubscript(t, e, s, a, l, d, o);
1341
1341
  if (v.optional && (d = !0), v === t || v.type === "ArrowFunctionExpression") {
1342
1342
  if (d) {
1343
1343
  var g = this.startNodeAt(e, s);
@@ -1354,7 +1354,7 @@ _.shouldParseAsyncArrow = function() {
1354
1354
  _.parseSubscriptAsyncArrow = function(t, e, s, a) {
1355
1355
  return this.parseArrowExpression(this.startNodeAt(t, e), s, !0, a);
1356
1356
  };
1357
- _.parseSubscript = function(t, e, s, a, o, f, d) {
1357
+ _.parseSubscript = function(t, e, s, a, o, l, d) {
1358
1358
  var v = this.options.ecmaVersion >= 11, g = v && this.eat(u.questionDot);
1359
1359
  a && g && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
1360
1360
  var h = this.eat(u.bracketL);
@@ -1371,7 +1371,7 @@ _.parseSubscript = function(t, e, s, a, o, f, d) {
1371
1371
  var I = this.startNodeAt(e, s);
1372
1372
  I.callee = t, I.arguments = _t, v && (I.optional = g), t = this.finishNode(I, "CallExpression");
1373
1373
  } else if (this.type === u.backQuote) {
1374
- (g || f) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
1374
+ (g || l) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
1375
1375
  var Y = this.startNodeAt(e, s);
1376
1376
  Y.tag = t, Y.quasi = this.parseTemplate({ isTagged: !0 }), t = this.finishNode(Y, "TaggedTemplateExpression");
1377
1377
  }
@@ -1386,14 +1386,14 @@ _.parseExprAtom = function(t, e, s) {
1386
1386
  case u._this:
1387
1387
  return a = this.startNode(), this.next(), this.finishNode(a, "ThisExpression");
1388
1388
  case u.name:
1389
- var f = this.start, d = this.startLoc, v = this.containsEsc, g = this.parseIdent(!1);
1389
+ var l = this.start, d = this.startLoc, v = this.containsEsc, g = this.parseIdent(!1);
1390
1390
  if (this.options.ecmaVersion >= 8 && !v && g.name === "async" && !this.canInsertSemicolon() && this.eat(u._function))
1391
- return this.overrideContext(F.f_expr), this.parseFunction(this.startNodeAt(f, d), 0, !1, !0, e);
1391
+ return this.overrideContext(F.f_expr), this.parseFunction(this.startNodeAt(l, d), 0, !1, !0, e);
1392
1392
  if (o && !this.canInsertSemicolon()) {
1393
1393
  if (this.eat(u.arrow))
1394
- return this.parseArrowExpression(this.startNodeAt(f, d), [g], !1, e);
1394
+ return this.parseArrowExpression(this.startNodeAt(l, d), [g], !1, e);
1395
1395
  if (this.options.ecmaVersion >= 8 && g.name === "async" && this.type === u.name && !v && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc))
1396
- return g = this.parseIdent(!1), (this.canInsertSemicolon() || !this.eat(u.arrow)) && this.unexpected(), this.parseArrowExpression(this.startNodeAt(f, d), [g], !0, e);
1396
+ return g = this.parseIdent(!1), (this.canInsertSemicolon() || !this.eat(u.arrow)) && this.unexpected(), this.parseArrowExpression(this.startNodeAt(l, d), [g], !0, e);
1397
1397
  }
1398
1398
  return g;
1399
1399
  case u.regexp:
@@ -1467,12 +1467,12 @@ _.shouldParseArrow = function(t) {
1467
1467
  return !this.canInsertSemicolon();
1468
1468
  };
1469
1469
  _.parseParenAndDistinguishExpression = function(t, e) {
1470
- var s = this.start, a = this.startLoc, o, f = this.options.ecmaVersion >= 8;
1470
+ var s = this.start, a = this.startLoc, o, l = this.options.ecmaVersion >= 8;
1471
1471
  if (this.options.ecmaVersion >= 6) {
1472
1472
  this.next();
1473
1473
  var d = this.start, v = this.startLoc, g = [], h = !0, P = !1, N = new ce(), B = this.yieldPos, nt = this.awaitPos, lt;
1474
1474
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== u.parenR; )
1475
- if (h ? h = !1 : this.expect(u.comma), f && this.afterTrailingComma(u.parenR, !0)) {
1475
+ if (h ? h = !1 : this.expect(u.comma), l && this.afterTrailingComma(u.parenR, !0)) {
1476
1476
  P = !0;
1477
1477
  break;
1478
1478
  } else if (this.type === u.ellipsis) {
@@ -1501,7 +1501,7 @@ _.parseParenItem = function(t) {
1501
1501
  _.parseParenArrowList = function(t, e, s, a) {
1502
1502
  return this.parseArrowExpression(this.startNodeAt(t, e), s, !1, a);
1503
1503
  };
1504
- var Ts = [];
1504
+ var Ss = [];
1505
1505
  _.parseNew = function() {
1506
1506
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
1507
1507
  var t = this.startNode();
@@ -1512,7 +1512,7 @@ _.parseNew = function() {
1512
1512
  return t.property = this.parseIdent(!0), t.property.name !== "target" && this.raiseRecoverable(t.property.start, "The only valid meta property for new is 'new.target'"), s && this.raiseRecoverable(t.start, "'new.target' must not contain escaped characters"), this.allowNewDotTarget || this.raiseRecoverable(t.start, "'new.target' can only be used in functions and class static block"), this.finishNode(t, "MetaProperty");
1513
1513
  }
1514
1514
  var a = this.start, o = this.startLoc;
1515
- return t.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), a, o, !0, !1), this.eat(u.parenL) ? t.arguments = this.parseExprList(u.parenR, this.options.ecmaVersion >= 8, !1) : t.arguments = Ts, this.finishNode(t, "NewExpression");
1515
+ return t.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), a, o, !0, !1), this.eat(u.parenL) ? t.arguments = this.parseExprList(u.parenR, this.options.ecmaVersion >= 8, !1) : t.arguments = Ss, this.finishNode(t, "NewExpression");
1516
1516
  };
1517
1517
  _.parseTemplateElement = function(t) {
1518
1518
  var e = t.isTagged, s = this.startNode();
@@ -1547,18 +1547,18 @@ _.parseObj = function(t, e) {
1547
1547
  a = !1;
1548
1548
  else if (this.expect(u.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(u.braceR))
1549
1549
  break;
1550
- var f = this.parseProperty(t, e);
1551
- t || this.checkPropClash(f, o, e), s.properties.push(f);
1550
+ var l = this.parseProperty(t, e);
1551
+ t || this.checkPropClash(l, o, e), s.properties.push(l);
1552
1552
  }
1553
1553
  return this.finishNode(s, t ? "ObjectPattern" : "ObjectExpression");
1554
1554
  };
1555
1555
  _.parseProperty = function(t, e) {
1556
- var s = this.startNode(), a, o, f, d;
1556
+ var s = this.startNode(), a, o, l, d;
1557
1557
  if (this.options.ecmaVersion >= 9 && this.eat(u.ellipsis))
1558
1558
  return t ? (s.argument = this.parseIdent(!1), this.type === u.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.finishNode(s, "RestElement")) : (s.argument = this.parseMaybeAssign(!1, e), this.type === u.comma && e && e.trailingComma < 0 && (e.trailingComma = this.start), this.finishNode(s, "SpreadElement"));
1559
- this.options.ecmaVersion >= 6 && (s.method = !1, s.shorthand = !1, (t || e) && (f = this.start, d = this.startLoc), t || (a = this.eat(u.star)));
1559
+ this.options.ecmaVersion >= 6 && (s.method = !1, s.shorthand = !1, (t || e) && (l = this.start, d = this.startLoc), t || (a = this.eat(u.star)));
1560
1560
  var v = this.containsEsc;
1561
- return this.parsePropertyName(s), !t && !v && this.options.ecmaVersion >= 8 && !a && this.isAsyncProp(s) ? (o = !0, a = this.options.ecmaVersion >= 9 && this.eat(u.star), this.parsePropertyName(s)) : o = !1, this.parsePropertyValue(s, t, a, o, f, d, e, v), this.finishNode(s, "Property");
1561
+ return this.parsePropertyName(s), !t && !v && this.options.ecmaVersion >= 8 && !a && this.isAsyncProp(s) ? (o = !0, a = this.options.ecmaVersion >= 9 && this.eat(u.star), this.parsePropertyName(s)) : o = !1, this.parsePropertyValue(s, t, a, o, l, d, e, v), this.finishNode(s, "Property");
1562
1562
  };
1563
1563
  _.parseGetterSetter = function(t) {
1564
1564
  var e = t.key.name;
@@ -1570,8 +1570,8 @@ _.parseGetterSetter = function(t) {
1570
1570
  } else
1571
1571
  t.kind === "set" && t.value.params[0].type === "RestElement" && this.raiseRecoverable(t.value.params[0].start, "Setter cannot use rest params");
1572
1572
  };
1573
- _.parsePropertyValue = function(t, e, s, a, o, f, d, v) {
1574
- (s || a) && this.type === u.colon && this.unexpected(), this.eat(u.colon) ? (t.value = e ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(!1, d), t.kind = "init") : this.options.ecmaVersion >= 6 && this.type === u.parenL ? (e && this.unexpected(), t.method = !0, t.value = this.parseMethod(s, a), t.kind = "init") : !e && !v && this.options.ecmaVersion >= 5 && !t.computed && t.key.type === "Identifier" && (t.key.name === "get" || t.key.name === "set") && this.type !== u.comma && this.type !== u.braceR && this.type !== u.eq ? ((s || a) && this.unexpected(), this.parseGetterSetter(t)) : this.options.ecmaVersion >= 6 && !t.computed && t.key.type === "Identifier" ? ((s || a) && this.unexpected(), this.checkUnreserved(t.key), t.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = o), e ? t.value = this.parseMaybeDefault(o, f, this.copyNode(t.key)) : this.type === u.eq && d ? (d.shorthandAssign < 0 && (d.shorthandAssign = this.start), t.value = this.parseMaybeDefault(o, f, this.copyNode(t.key))) : t.value = this.copyNode(t.key), t.kind = "init", t.shorthand = !0) : this.unexpected();
1573
+ _.parsePropertyValue = function(t, e, s, a, o, l, d, v) {
1574
+ (s || a) && this.type === u.colon && this.unexpected(), this.eat(u.colon) ? (t.value = e ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(!1, d), t.kind = "init") : this.options.ecmaVersion >= 6 && this.type === u.parenL ? (e && this.unexpected(), t.method = !0, t.value = this.parseMethod(s, a), t.kind = "init") : !e && !v && this.options.ecmaVersion >= 5 && !t.computed && t.key.type === "Identifier" && (t.key.name === "get" || t.key.name === "set") && this.type !== u.comma && this.type !== u.braceR && this.type !== u.eq ? ((s || a) && this.unexpected(), this.parseGetterSetter(t)) : this.options.ecmaVersion >= 6 && !t.computed && t.key.type === "Identifier" ? ((s || a) && this.unexpected(), this.checkUnreserved(t.key), t.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = o), e ? t.value = this.parseMaybeDefault(o, l, this.copyNode(t.key)) : this.type === u.eq && d ? (d.shorthandAssign < 0 && (d.shorthandAssign = this.start), t.value = this.parseMaybeDefault(o, l, this.copyNode(t.key))) : t.value = this.copyNode(t.key), t.kind = "init", t.shorthand = !0) : this.unexpected();
1575
1575
  };
1576
1576
  _.parsePropertyName = function(t) {
1577
1577
  if (this.options.ecmaVersion >= 6) {
@@ -1585,22 +1585,22 @@ _.initFunction = function(t) {
1585
1585
  t.id = null, this.options.ecmaVersion >= 6 && (t.generator = t.expression = !1), this.options.ecmaVersion >= 8 && (t.async = !1);
1586
1586
  };
1587
1587
  _.parseMethod = function(t, e, s) {
1588
- var a = this.startNode(), o = this.yieldPos, f = this.awaitPos, d = this.awaitIdentPos;
1589
- return this.initFunction(a), this.options.ecmaVersion >= 6 && (a.generator = t), this.options.ecmaVersion >= 8 && (a.async = !!e), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Oe(e, a.generator) | he | (s ? li : 0)), this.expect(u.parenL), a.params = this.parseBindingList(u.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(a, !1, !0, !1), this.yieldPos = o, this.awaitPos = f, this.awaitIdentPos = d, this.finishNode(a, "FunctionExpression");
1588
+ var a = this.startNode(), o = this.yieldPos, l = this.awaitPos, d = this.awaitIdentPos;
1589
+ return this.initFunction(a), this.options.ecmaVersion >= 6 && (a.generator = t), this.options.ecmaVersion >= 8 && (a.async = !!e), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Oe(e, a.generator) | he | (s ? li : 0)), this.expect(u.parenL), a.params = this.parseBindingList(u.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(a, !1, !0, !1), this.yieldPos = o, this.awaitPos = l, this.awaitIdentPos = d, this.finishNode(a, "FunctionExpression");
1590
1590
  };
1591
1591
  _.parseArrowExpression = function(t, e, s, a) {
1592
- var o = this.yieldPos, f = this.awaitPos, d = this.awaitIdentPos;
1593
- return this.enterScope(Oe(s, !1) | Le), this.initFunction(t), this.options.ecmaVersion >= 8 && (t.async = !!s), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, t.params = this.toAssignableList(e, !0), this.parseFunctionBody(t, !0, !1, a), this.yieldPos = o, this.awaitPos = f, this.awaitIdentPos = d, this.finishNode(t, "ArrowFunctionExpression");
1592
+ var o = this.yieldPos, l = this.awaitPos, d = this.awaitIdentPos;
1593
+ return this.enterScope(Oe(s, !1) | Le), this.initFunction(t), this.options.ecmaVersion >= 8 && (t.async = !!s), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, t.params = this.toAssignableList(e, !0), this.parseFunctionBody(t, !0, !1, a), this.yieldPos = o, this.awaitPos = l, this.awaitIdentPos = d, this.finishNode(t, "ArrowFunctionExpression");
1594
1594
  };
1595
1595
  _.parseFunctionBody = function(t, e, s, a) {
1596
- var o = e && this.type !== u.braceL, f = this.strict, d = !1;
1596
+ var o = e && this.type !== u.braceL, l = this.strict, d = !1;
1597
1597
  if (o)
1598
1598
  t.body = this.parseMaybeAssign(a), t.expression = !0, this.checkParams(t, !1);
1599
1599
  else {
1600
1600
  var v = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(t.params);
1601
- (!f || v) && (d = this.strictDirective(this.end), d && v && this.raiseRecoverable(t.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
1601
+ (!l || v) && (d = this.strictDirective(this.end), d && v && this.raiseRecoverable(t.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
1602
1602
  var g = this.labels;
1603
- this.labels = [], d && (this.strict = !0), this.checkParams(t, !f && !d && !e && !s && this.isSimpleParamList(t.params)), this.strict && t.id && this.checkLValSimple(t.id, mi), t.body = this.parseBlock(!1, void 0, d && !f), t.expression = !1, this.adaptDirectivePrologue(t.body.body), this.labels = g;
1603
+ this.labels = [], d && (this.strict = !0), this.checkParams(t, !l && !d && !e && !s && this.isSimpleParamList(t.params)), this.strict && t.id && this.checkLValSimple(t.id, mi), t.body = this.parseBlock(!1, void 0, d && !l), t.expression = !1, this.adaptDirectivePrologue(t.body.body), this.labels = g;
1604
1604
  }
1605
1605
  this.exitScope();
1606
1606
  };
@@ -1614,14 +1614,14 @@ _.isSimpleParamList = function(t) {
1614
1614
  };
1615
1615
  _.checkParams = function(t, e) {
1616
1616
  for (var s = /* @__PURE__ */ Object.create(null), a = 0, o = t.params; a < o.length; a += 1) {
1617
- var f = o[a];
1618
- this.checkLValInnerPattern(f, Re, e ? null : s);
1617
+ var l = o[a];
1618
+ this.checkLValInnerPattern(l, Re, e ? null : s);
1619
1619
  }
1620
1620
  };
1621
1621
  _.parseExprList = function(t, e, s, a) {
1622
- for (var o = [], f = !0; !this.eat(t); ) {
1623
- if (f)
1624
- f = !1;
1622
+ for (var o = [], l = !0; !this.eat(t); ) {
1623
+ if (l)
1624
+ l = !1;
1625
1625
  else if (this.expect(u.comma), e && this.afterTrailingComma(t))
1626
1626
  break;
1627
1627
  var d = void 0;
@@ -1670,11 +1670,11 @@ re.curPosition = function() {
1670
1670
  if (this.options.locations)
1671
1671
  return new Ot(this.curLine, this.pos - this.lineStart);
1672
1672
  };
1673
- var wt = H.prototype, Ss = function(e) {
1673
+ var wt = H.prototype, Ps = function(e) {
1674
1674
  this.flags = e, this.var = [], this.lexical = [], this.functions = [];
1675
1675
  };
1676
1676
  wt.enterScope = function(t) {
1677
- this.scopeStack.push(new Ss(t));
1677
+ this.scopeStack.push(new Ps(t));
1678
1678
  };
1679
1679
  wt.exitScope = function() {
1680
1680
  this.scopeStack.pop();
@@ -1688,8 +1688,8 @@ wt.declareName = function(t, e, s) {
1688
1688
  var o = this.currentScope();
1689
1689
  a = o.lexical.indexOf(t) > -1 || o.functions.indexOf(t) > -1 || o.var.indexOf(t) > -1, o.lexical.push(t), this.inModule && o.flags & Ht && delete this.undefinedExports[t];
1690
1690
  } else if (e === di) {
1691
- var f = this.currentScope();
1692
- f.lexical.push(t);
1691
+ var l = this.currentScope();
1692
+ l.lexical.push(t);
1693
1693
  } else if (e === fi) {
1694
1694
  var d = this.currentScope();
1695
1695
  this.treatFunctionsAsVar ? a = d.lexical.indexOf(t) > -1 : a = d.lexical.indexOf(t) > -1 || d.var.indexOf(t) > -1, d.functions.push(t);
@@ -1714,25 +1714,25 @@ wt.currentScope = function() {
1714
1714
  wt.currentVarScope = function() {
1715
1715
  for (var t = this.scopeStack.length - 1; ; t--) {
1716
1716
  var e = this.scopeStack[t];
1717
- if (e.flags & (ue | Wt | It))
1717
+ if (e.flags & (ue | Kt | It))
1718
1718
  return e;
1719
1719
  }
1720
1720
  };
1721
1721
  wt.currentThisScope = function() {
1722
1722
  for (var t = this.scopeStack.length - 1; ; t--) {
1723
1723
  var e = this.scopeStack[t];
1724
- if (e.flags & (ue | Wt | It) && !(e.flags & Le))
1724
+ if (e.flags & (ue | Kt | It) && !(e.flags & Le))
1725
1725
  return e;
1726
1726
  }
1727
1727
  };
1728
- var Gt = function(e, s, a) {
1729
- this.type = "", this.start = s, this.end = 0, e.options.locations && (this.loc = new Kt(e, a)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [s, 0]);
1728
+ var Wt = function(e, s, a) {
1729
+ this.type = "", this.start = s, this.end = 0, e.options.locations && (this.loc = new Gt(e, a)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [s, 0]);
1730
1730
  }, zt = H.prototype;
1731
1731
  zt.startNode = function() {
1732
- return new Gt(this, this.start, this.startLoc);
1732
+ return new Wt(this, this.start, this.startLoc);
1733
1733
  };
1734
1734
  zt.startNodeAt = function(t, e) {
1735
- return new Gt(this, t, e);
1735
+ return new Wt(this, t, e);
1736
1736
  };
1737
1737
  function vi(t, e, s, a) {
1738
1738
  return t.type = e, t.end = s, this.options.locations && (t.loc.end = a), this.options.ranges && (t.range[1] = s), t;
@@ -1744,47 +1744,47 @@ zt.finishNodeAt = function(t, e, s, a) {
1744
1744
  return vi.call(this, t, e, s, a);
1745
1745
  };
1746
1746
  zt.copyNode = function(t) {
1747
- var e = new Gt(this, t.start, this.startLoc);
1747
+ var e = new Wt(this, t.start, this.startLoc);
1748
1748
  for (var s in t)
1749
1749
  e[s] = t[s];
1750
1750
  return e;
1751
1751
  };
1752
- var Ps = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz", gi = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", bi = gi + " Extended_Pictographic", Ti = bi, Si = Ti + " EBase EComp EMod EPres ExtPict", Pi = Si, Cs = Pi, ks = {
1752
+ var Cs = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz", gi = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", bi = gi + " Extended_Pictographic", Ti = bi, Si = Ti + " EBase EComp EMod EPres ExtPict", Pi = Si, ks = Pi, ws = {
1753
1753
  9: gi,
1754
1754
  10: bi,
1755
1755
  11: Ti,
1756
1756
  12: Si,
1757
1757
  13: Pi,
1758
- 14: Cs
1759
- }, ws = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", As = {
1758
+ 14: ks
1759
+ }, As = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", Es = {
1760
1760
  9: "",
1761
1761
  10: "",
1762
1762
  11: "",
1763
1763
  12: "",
1764
1764
  13: "",
1765
- 14: ws
1766
- }, Ge = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", Ci = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", ki = Ci + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", wi = ki + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", Ai = wi + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", Ei = Ai + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", Es = Ei + " " + Ps, Is = {
1765
+ 14: As
1766
+ }, We = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", Ci = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", ki = Ci + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", wi = ki + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", Ai = wi + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", Ei = Ai + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", Is = Ei + " " + Cs, _s = {
1767
1767
  9: Ci,
1768
1768
  10: ki,
1769
1769
  11: wi,
1770
1770
  12: Ai,
1771
1771
  13: Ei,
1772
- 14: Es
1772
+ 14: Is
1773
1773
  }, Ii = {};
1774
- function _s(t) {
1774
+ function Ns(t) {
1775
1775
  var e = Ii[t] = {
1776
- binary: kt(ks[t] + " " + Ge),
1777
- binaryOfStrings: kt(As[t]),
1776
+ binary: kt(ws[t] + " " + We),
1777
+ binaryOfStrings: kt(Es[t]),
1778
1778
  nonBinary: {
1779
- General_Category: kt(Ge),
1780
- Script: kt(Is[t])
1779
+ General_Category: kt(We),
1780
+ Script: kt(_s[t])
1781
1781
  }
1782
1782
  };
1783
1783
  e.nonBinary.Script_Extensions = e.nonBinary.Script, e.nonBinary.gc = e.nonBinary.General_Category, e.nonBinary.sc = e.nonBinary.Script, e.nonBinary.scx = e.nonBinary.Script_Extensions;
1784
1784
  }
1785
1785
  for (var be = 0, ze = [9, 10, 11, 12, 13, 14]; be < ze.length; be += 1) {
1786
- var Ns = ze[be];
1787
- _s(Ns);
1786
+ var Ls = ze[be];
1787
+ Ns(Ls);
1788
1788
  }
1789
1789
  var C = H.prototype, ae = function(e, s) {
1790
1790
  this.parent = e, this.base = s || this;
@@ -1803,8 +1803,8 @@ var yt = function(e) {
1803
1803
  this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : "") + (e.options.ecmaVersion >= 13 ? "d" : "") + (e.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = Ii[e.options.ecmaVersion >= 14 ? 14 : e.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = /* @__PURE__ */ Object.create(null), this.backReferenceNames = [], this.branchID = null;
1804
1804
  };
1805
1805
  yt.prototype.reset = function(e, s, a) {
1806
- var o = a.indexOf("v") !== -1, f = a.indexOf("u") !== -1;
1807
- this.start = e | 0, this.source = s + "", this.flags = a, o && this.parser.options.ecmaVersion >= 15 ? (this.switchU = !0, this.switchV = !0, this.switchN = !0) : (this.switchU = f && this.parser.options.ecmaVersion >= 6, this.switchV = !1, this.switchN = f && this.parser.options.ecmaVersion >= 9);
1806
+ var o = a.indexOf("v") !== -1, l = a.indexOf("u") !== -1;
1807
+ this.start = e | 0, this.source = s + "", this.flags = a, o && this.parser.options.ecmaVersion >= 15 ? (this.switchU = !0, this.switchV = !0, this.switchN = !0) : (this.switchU = l && this.parser.options.ecmaVersion >= 6, this.switchV = !1, this.switchN = l && this.parser.options.ecmaVersion >= 9);
1808
1808
  };
1809
1809
  yt.prototype.raise = function(e) {
1810
1810
  this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + e);
@@ -1814,19 +1814,19 @@ yt.prototype.at = function(e, s) {
1814
1814
  var a = this.source, o = a.length;
1815
1815
  if (e >= o)
1816
1816
  return -1;
1817
- var f = a.charCodeAt(e);
1818
- if (!(s || this.switchU) || f <= 55295 || f >= 57344 || e + 1 >= o)
1819
- return f;
1817
+ var l = a.charCodeAt(e);
1818
+ if (!(s || this.switchU) || l <= 55295 || l >= 57344 || e + 1 >= o)
1819
+ return l;
1820
1820
  var d = a.charCodeAt(e + 1);
1821
- return d >= 56320 && d <= 57343 ? (f << 10) + d - 56613888 : f;
1821
+ return d >= 56320 && d <= 57343 ? (l << 10) + d - 56613888 : l;
1822
1822
  };
1823
1823
  yt.prototype.nextIndex = function(e, s) {
1824
1824
  s === void 0 && (s = !1);
1825
1825
  var a = this.source, o = a.length;
1826
1826
  if (e >= o)
1827
1827
  return o;
1828
- var f = a.charCodeAt(e), d;
1829
- return !(s || this.switchU) || f <= 55295 || f >= 57344 || e + 1 >= o || (d = a.charCodeAt(e + 1)) < 56320 || d > 57343 ? e + 1 : e + 2;
1828
+ var l = a.charCodeAt(e), d;
1829
+ return !(s || this.switchU) || l <= 55295 || l >= 57344 || e + 1 >= o || (d = a.charCodeAt(e + 1)) < 56320 || d > 57343 ? e + 1 : e + 2;
1830
1830
  };
1831
1831
  yt.prototype.current = function(e) {
1832
1832
  return e === void 0 && (e = !1), this.at(this.pos, e);
@@ -1842,8 +1842,8 @@ yt.prototype.eat = function(e, s) {
1842
1842
  };
1843
1843
  yt.prototype.eatChars = function(e, s) {
1844
1844
  s === void 0 && (s = !1);
1845
- for (var a = this.pos, o = 0, f = e; o < f.length; o += 1) {
1846
- var d = f[o], v = this.at(a, s);
1845
+ for (var a = this.pos, o = 0, l = e; o < l.length; o += 1) {
1846
+ var d = l[o], v = this.at(a, s);
1847
1847
  if (v === -1 || v !== d)
1848
1848
  return !1;
1849
1849
  a = this.nextIndex(a, s);
@@ -1851,19 +1851,19 @@ yt.prototype.eatChars = function(e, s) {
1851
1851
  return this.pos = a, !0;
1852
1852
  };
1853
1853
  C.validateRegExpFlags = function(t) {
1854
- for (var e = t.validFlags, s = t.flags, a = !1, o = !1, f = 0; f < s.length; f++) {
1855
- var d = s.charAt(f);
1856
- e.indexOf(d) === -1 && this.raise(t.start, "Invalid regular expression flag"), s.indexOf(d, f + 1) > -1 && this.raise(t.start, "Duplicate regular expression flag"), d === "u" && (a = !0), d === "v" && (o = !0);
1854
+ for (var e = t.validFlags, s = t.flags, a = !1, o = !1, l = 0; l < s.length; l++) {
1855
+ var d = s.charAt(l);
1856
+ e.indexOf(d) === -1 && this.raise(t.start, "Invalid regular expression flag"), s.indexOf(d, l + 1) > -1 && this.raise(t.start, "Duplicate regular expression flag"), d === "u" && (a = !0), d === "v" && (o = !0);
1857
1857
  }
1858
1858
  this.options.ecmaVersion >= 15 && a && o && this.raise(t.start, "Invalid regular expression flag");
1859
1859
  };
1860
- function Ls(t) {
1860
+ function Os(t) {
1861
1861
  for (var e in t)
1862
1862
  return !0;
1863
1863
  return !1;
1864
1864
  }
1865
1865
  C.validateRegExpPattern = function(t) {
1866
- this.regexp_pattern(t), !t.switchN && this.options.ecmaVersion >= 9 && Ls(t.groupNames) && (t.switchN = !0, this.regexp_pattern(t));
1866
+ this.regexp_pattern(t), !t.switchN && this.options.ecmaVersion >= 9 && Os(t.groupNames) && (t.switchN = !0, this.regexp_pattern(t));
1867
1867
  };
1868
1868
  C.regexp_pattern = function(t) {
1869
1869
  t.pos = 0, t.lastIntValue = 0, t.lastStringValue = "", t.lastAssertionIsQuantifiable = !1, t.numCapturingParens = 0, t.maxBackReference = 0, t.groupNames = /* @__PURE__ */ Object.create(null), t.backReferenceNames.length = 0, t.branchID = null, this.regexp_disjunction(t), t.pos !== t.source.length && (t.eat(
@@ -2021,8 +2021,8 @@ C.regexp_eatUncapturingGroup = function(t) {
2021
2021
  );
2022
2022
  if (s || a) {
2023
2023
  for (var o = 0; o < s.length; o++) {
2024
- var f = s.charAt(o);
2025
- s.indexOf(f, o + 1) > -1 && t.raise("Duplicate regular expression modifiers");
2024
+ var l = s.charAt(o);
2025
+ s.indexOf(l, o + 1) > -1 && t.raise("Duplicate regular expression modifiers");
2026
2026
  }
2027
2027
  if (a) {
2028
2028
  var d = this.regexp_eatModifiers(t);
@@ -2065,11 +2065,11 @@ C.regexp_eatCapturingGroup = function(t) {
2065
2065
  return !1;
2066
2066
  };
2067
2067
  C.regexp_eatModifiers = function(t) {
2068
- for (var e = "", s = 0; (s = t.current()) !== -1 && Os(s); )
2068
+ for (var e = "", s = 0; (s = t.current()) !== -1 && Rs(s); )
2069
2069
  e += gt(s), t.advance();
2070
2070
  return e;
2071
2071
  };
2072
- function Os(t) {
2072
+ function Rs(t) {
2073
2073
  return t === 105 || t === 109 || t === 115;
2074
2074
  }
2075
2075
  C.regexp_eatExtendedAtom = function(t) {
@@ -2107,8 +2107,8 @@ C.regexp_groupSpecifier = function(t) {
2107
2107
  if (s)
2108
2108
  if (e)
2109
2109
  for (var a = 0, o = s; a < o.length; a += 1) {
2110
- var f = o[a];
2111
- f.separatedFrom(t.branchID) || t.raise("Duplicate capture group name");
2110
+ var l = o[a];
2111
+ l.separatedFrom(t.branchID) || t.raise("Duplicate capture group name");
2112
2112
  }
2113
2113
  else
2114
2114
  t.raise("Duplicate capture group name");
@@ -2139,16 +2139,16 @@ C.regexp_eatRegExpIdentifierName = function(t) {
2139
2139
  };
2140
2140
  C.regexp_eatRegExpIdentifierStart = function(t) {
2141
2141
  var e = t.pos, s = this.options.ecmaVersion >= 11, a = t.current(s);
2142
- return t.advance(s), a === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, s) && (a = t.lastIntValue), Rs(a) ? (t.lastIntValue = a, !0) : (t.pos = e, !1);
2142
+ return t.advance(s), a === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, s) && (a = t.lastIntValue), Ms(a) ? (t.lastIntValue = a, !0) : (t.pos = e, !1);
2143
2143
  };
2144
- function Rs(t) {
2144
+ function Ms(t) {
2145
2145
  return ft(t, !0) || t === 36 || t === 95;
2146
2146
  }
2147
2147
  C.regexp_eatRegExpIdentifierPart = function(t) {
2148
2148
  var e = t.pos, s = this.options.ecmaVersion >= 11, a = t.current(s);
2149
- return t.advance(s), a === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, s) && (a = t.lastIntValue), Ms(a) ? (t.lastIntValue = a, !0) : (t.pos = e, !1);
2149
+ return t.advance(s), a === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, s) && (a = t.lastIntValue), Ds(a) ? (t.lastIntValue = a, !0) : (t.pos = e, !1);
2150
2150
  };
2151
- function Ms(t) {
2151
+ function Ds(t) {
2152
2152
  return vt(t, !0) || t === 36 || t === 95 || t === 8204 || t === 8205;
2153
2153
  }
2154
2154
  C.regexp_eatAtomEscape = function(t) {
@@ -2216,7 +2216,7 @@ C.regexp_eatRegExpUnicodeEscapeSequence = function(t, e) {
2216
2216
  if (this.regexp_eatFixedHexDigits(t, 4)) {
2217
2217
  var o = t.lastIntValue;
2218
2218
  if (a && o >= 55296 && o <= 56319) {
2219
- var f = t.pos;
2219
+ var l = t.pos;
2220
2220
  if (t.eat(
2221
2221
  92
2222
2222
  /* \ */
@@ -2228,7 +2228,7 @@ C.regexp_eatRegExpUnicodeEscapeSequence = function(t, e) {
2228
2228
  if (d >= 56320 && d <= 57343)
2229
2229
  return t.lastIntValue = (o - 55296) * 1024 + (d - 56320) + 65536, !0;
2230
2230
  }
2231
- t.pos = f, t.lastIntValue = o;
2231
+ t.pos = l, t.lastIntValue = o;
2232
2232
  }
2233
2233
  return !0;
2234
2234
  }
@@ -2238,13 +2238,13 @@ C.regexp_eatRegExpUnicodeEscapeSequence = function(t, e) {
2238
2238
  ) && this.regexp_eatHexDigits(t) && t.eat(
2239
2239
  125
2240
2240
  /* } */
2241
- ) && Ds(t.lastIntValue))
2241
+ ) && Vs(t.lastIntValue))
2242
2242
  return !0;
2243
2243
  a && t.raise("Invalid unicode escape"), t.pos = s;
2244
2244
  }
2245
2245
  return !1;
2246
2246
  };
2247
- function Ds(t) {
2247
+ function Vs(t) {
2248
2248
  return t >= 0 && t <= 1114111;
2249
2249
  }
2250
2250
  C.regexp_eatIdentityEscape = function(t) {
@@ -2270,7 +2270,7 @@ C.regexp_eatDecimalEscape = function(t) {
2270
2270
  var Li = 0, bt = 1, ut = 2;
2271
2271
  C.regexp_eatCharacterClassEscape = function(t) {
2272
2272
  var e = t.current();
2273
- if (Vs(e))
2273
+ if (Fs(e))
2274
2274
  return t.lastIntValue = -1, t.advance(), bt;
2275
2275
  var s = !1;
2276
2276
  if (t.switchU && this.options.ecmaVersion >= 9 && ((s = e === 80) || e === 112)) {
@@ -2288,7 +2288,7 @@ C.regexp_eatCharacterClassEscape = function(t) {
2288
2288
  }
2289
2289
  return Li;
2290
2290
  };
2291
- function Vs(t) {
2291
+ function Fs(t) {
2292
2292
  return t === 100 || t === 68 || t === 115 || t === 83 || t === 119 || t === 87;
2293
2293
  }
2294
2294
  C.regexp_eatUnicodePropertyValueExpression = function(t) {
@@ -2330,11 +2330,11 @@ function Oi(t) {
2330
2330
  }
2331
2331
  C.regexp_eatUnicodePropertyValue = function(t) {
2332
2332
  var e = 0;
2333
- for (t.lastStringValue = ""; Fs(e = t.current()); )
2333
+ for (t.lastStringValue = ""; Bs(e = t.current()); )
2334
2334
  t.lastStringValue += gt(e), t.advance();
2335
2335
  return t.lastStringValue !== "";
2336
2336
  };
2337
- function Fs(t) {
2337
+ function Bs(t) {
2338
2338
  return Oi(t) || pe(t);
2339
2339
  }
2340
2340
  C.regexp_eatLoneUnicodePropertyNameOrValue = function(t) {
@@ -2534,19 +2534,19 @@ C.regexp_eatClassSetCharacter = function(t) {
2534
2534
  /* b */
2535
2535
  ) ? (t.lastIntValue = 8, !0) : (t.pos = e, !1);
2536
2536
  var s = t.current();
2537
- return s < 0 || s === t.lookahead() && Bs(s) || js(s) ? !1 : (t.advance(), t.lastIntValue = s, !0);
2537
+ return s < 0 || s === t.lookahead() && js(s) || Us(s) ? !1 : (t.advance(), t.lastIntValue = s, !0);
2538
2538
  };
2539
- function Bs(t) {
2539
+ function js(t) {
2540
2540
  return t === 33 || t >= 35 && t <= 38 || t >= 42 && t <= 44 || t === 46 || t >= 58 && t <= 64 || t === 94 || t === 96 || t === 126;
2541
2541
  }
2542
- function js(t) {
2542
+ function Us(t) {
2543
2543
  return t === 40 || t === 41 || t === 45 || t === 47 || t >= 91 && t <= 93 || t >= 123 && t <= 125;
2544
2544
  }
2545
2545
  C.regexp_eatClassSetReservedPunctuator = function(t) {
2546
2546
  var e = t.current();
2547
- return Us(e) ? (t.lastIntValue = e, t.advance(), !0) : !1;
2547
+ return qs(e) ? (t.lastIntValue = e, t.advance(), !0) : !1;
2548
2548
  };
2549
- function Us(t) {
2549
+ function qs(t) {
2550
2550
  return t === 33 || t === 35 || t === 37 || t === 38 || t === 44 || t === 45 || t >= 58 && t <= 62 || t === 64 || t === 96 || t === 126;
2551
2551
  }
2552
2552
  C.regexp_eatClassControlLetter = function(t) {
@@ -2617,7 +2617,7 @@ C.regexp_eatFixedHexDigits = function(t, e) {
2617
2617
  return !0;
2618
2618
  };
2619
2619
  var le = function(e) {
2620
- this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new Kt(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
2620
+ this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new Gt(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
2621
2621
  }, R = H.prototype;
2622
2622
  R.next = function(t) {
2623
2623
  !t && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new le(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
@@ -2900,8 +2900,8 @@ R.readRegexp = function() {
2900
2900
  }
2901
2901
  var o = this.input.slice(s, this.pos);
2902
2902
  ++this.pos;
2903
- var f = this.pos, d = this.readWord1();
2904
- this.containsEsc && this.unexpected(f);
2903
+ var l = this.pos, d = this.readWord1();
2904
+ this.containsEsc && this.unexpected(l);
2905
2905
  var v = this.regexpState || (this.regexpState = new yt(this));
2906
2906
  v.reset(s, o, d), this.validateRegExpFlags(v), this.validateRegExpPattern(v);
2907
2907
  var g = null;
@@ -2912,7 +2912,7 @@ R.readRegexp = function() {
2912
2912
  return this.finishToken(u.regexp, { pattern: o, flags: d, value: g });
2913
2913
  };
2914
2914
  R.readInt = function(t, e, s) {
2915
- for (var a = this.options.ecmaVersion >= 12 && e === void 0, o = s && this.input.charCodeAt(this.pos) === 48, f = this.pos, d = 0, v = 0, g = 0, h = e ?? 1 / 0; g < h; ++g, ++this.pos) {
2915
+ for (var a = this.options.ecmaVersion >= 12 && e === void 0, o = s && this.input.charCodeAt(this.pos) === 48, l = this.pos, d = 0, v = 0, g = 0, h = e ?? 1 / 0; g < h; ++g, ++this.pos) {
2916
2916
  var P = this.input.charCodeAt(this.pos), N = void 0;
2917
2917
  if (a && P === 95) {
2918
2918
  o && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), v === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), g === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), v = P;
@@ -2922,9 +2922,9 @@ R.readInt = function(t, e, s) {
2922
2922
  break;
2923
2923
  v = P, d = d * t + N;
2924
2924
  }
2925
- return a && v === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === f || e != null && this.pos - f !== e ? null : d;
2925
+ return a && v === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === l || e != null && this.pos - l !== e ? null : d;
2926
2926
  };
2927
- function qs(t, e) {
2927
+ function Hs(t, e) {
2928
2928
  return e ? parseInt(t, 8) : parseFloat(t.replace(/_/g, ""));
2929
2929
  }
2930
2930
  function Vi(t) {
@@ -2947,8 +2947,8 @@ R.readNumber = function(t) {
2947
2947
  return ++this.pos, ft(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(u.num, o);
2948
2948
  }
2949
2949
  s && /[89]/.test(this.input.slice(e, this.pos)) && (s = !1), a === 46 && !s && (++this.pos, this.readInt(10), a = this.input.charCodeAt(this.pos)), (a === 69 || a === 101) && !s && (a = this.input.charCodeAt(++this.pos), (a === 43 || a === 45) && ++this.pos, this.readInt(10) === null && this.raise(e, "Invalid number")), ft(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
2950
- var f = qs(this.input.slice(e, this.pos), s);
2951
- return this.finishToken(u.num, f);
2950
+ var l = Hs(this.input.slice(e, this.pos), s);
2951
+ return this.finishToken(u.num, l);
2952
2952
  };
2953
2953
  R.readCodePoint = function() {
2954
2954
  var t = this.input.charCodeAt(this.pos), e;
@@ -3106,10 +3106,10 @@ R.readWord1 = function() {
3106
3106
  this.pos += o <= 65535 ? 1 : 2;
3107
3107
  else if (o === 92) {
3108
3108
  this.containsEsc = !0, t += this.input.slice(s, this.pos);
3109
- var f = this.pos;
3109
+ var l = this.pos;
3110
3110
  this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
3111
3111
  var d = this.readCodePoint();
3112
- (e ? ft : vt)(d, a) || this.invalidStringToken(f, "Invalid Unicode escape"), t += gt(d), s = this.pos;
3112
+ (e ? ft : vt)(d, a) || this.invalidStringToken(l, "Invalid Unicode escape"), t += gt(d), s = this.pos;
3113
3113
  } else
3114
3114
  break;
3115
3115
  e = !1;
@@ -3126,9 +3126,9 @@ H.acorn = {
3126
3126
  version: Bi,
3127
3127
  defaultOptions: ee,
3128
3128
  Position: Ot,
3129
- SourceLocation: Kt,
3129
+ SourceLocation: Gt,
3130
3130
  getLineInfo: _e,
3131
- Node: Gt,
3131
+ Node: Wt,
3132
3132
  TokenType: O,
3133
3133
  tokTypes: u,
3134
3134
  keywordTypes: Lt,
@@ -3142,10 +3142,10 @@ H.acorn = {
3142
3142
  lineBreakG: oi,
3143
3143
  nonASCIIwhitespace: Ie
3144
3144
  };
3145
- function Hs(t, e) {
3145
+ function $s(t, e) {
3146
3146
  return H.parse(t, e);
3147
3147
  }
3148
- function $s(t, e, s) {
3148
+ function Gs(t, e, s) {
3149
3149
  return H.parseExpressionAt(t, e, s);
3150
3150
  }
3151
3151
  function Ks(t, e) {
@@ -3153,10 +3153,10 @@ function Ks(t, e) {
3153
3153
  }
3154
3154
  const Ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3155
3155
  __proto__: null,
3156
- Node: Gt,
3156
+ Node: Wt,
3157
3157
  Parser: H,
3158
3158
  Position: Ot,
3159
- SourceLocation: Kt,
3159
+ SourceLocation: Gt,
3160
3160
  TokContext: X,
3161
3161
  Token: le,
3162
3162
  TokenType: O,
@@ -3169,8 +3169,8 @@ const Ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3169
3169
  lineBreak: Q,
3170
3170
  lineBreakG: oi,
3171
3171
  nonASCIIwhitespace: Ie,
3172
- parse: Hs,
3173
- parseExpressionAt: $s,
3172
+ parse: $s,
3173
+ parseExpressionAt: Gs,
3174
3174
  tokContexts: F,
3175
3175
  tokTypes: u,
3176
3176
  tokenizer: Ks,
@@ -3179,15 +3179,15 @@ const Ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3179
3179
  function Xe(t, e) {
3180
3180
  for (var s = 0; s < e.length; s++) {
3181
3181
  var a = e[s];
3182
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(t, typeof (o = (function(f, d) {
3183
- if (typeof f != "object" || f === null) return f;
3184
- var v = f[Symbol.toPrimitive];
3182
+ a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(t, typeof (o = (function(l, d) {
3183
+ if (typeof l != "object" || l === null) return l;
3184
+ var v = l[Symbol.toPrimitive];
3185
3185
  if (v !== void 0) {
3186
- var g = v.call(f, "string");
3186
+ var g = v.call(l, "string");
3187
3187
  if (typeof g != "object") return g;
3188
3188
  throw new TypeError("@@toPrimitive must return a primitive value.");
3189
3189
  }
3190
- return String(f);
3190
+ return String(l);
3191
3191
  })(a.key)) == "symbol" ? o : String(o), a);
3192
3192
  }
3193
3193
  var o;
@@ -3217,11 +3217,11 @@ function Qe(t, e) {
3217
3217
  function Je(t, e) {
3218
3218
  var s = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
3219
3219
  if (s) return (s = s.call(t)).next.bind(s);
3220
- if (Array.isArray(t) || (s = (function(o, f) {
3220
+ if (Array.isArray(t) || (s = (function(o, l) {
3221
3221
  if (o) {
3222
- if (typeof o == "string") return Qe(o, f);
3222
+ if (typeof o == "string") return Qe(o, l);
3223
3223
  var d = Object.prototype.toString.call(o).slice(8, -1);
3224
- return d === "Object" && o.constructor && (d = o.constructor.name), d === "Map" || d === "Set" ? Array.from(o) : d === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d) ? Qe(o, f) : void 0;
3224
+ return d === "Object" && o.constructor && (d = o.constructor.name), d === "Map" || d === "Set" ? Array.from(o) : d === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d) ? Qe(o, l) : void 0;
3225
3225
  }
3226
3226
  })(t)) || e) {
3227
3227
  s && (t = s);
@@ -3237,17 +3237,17 @@ var st = !0;
3237
3237
  function rt(t, e) {
3238
3238
  return e === void 0 && (e = {}), new O("name", e);
3239
3239
  }
3240
- var Gs = /* @__PURE__ */ new WeakMap();
3241
- function zs(t) {
3242
- var e = Gs.get(t.Parser.acorn || t);
3240
+ var zs = /* @__PURE__ */ new WeakMap();
3241
+ function Xs(t) {
3242
+ var e = zs.get(t.Parser.acorn || t);
3243
3243
  if (!e) {
3244
- var s = { assert: rt(0, { startsExpr: st }), asserts: rt(0, { startsExpr: st }), global: rt(0, { startsExpr: st }), keyof: rt(0, { startsExpr: st }), readonly: rt(0, { startsExpr: st }), unique: rt(0, { startsExpr: st }), abstract: rt(0, { startsExpr: st }), declare: rt(0, { startsExpr: st }), enum: rt(0, { startsExpr: st }), module: rt(0, { startsExpr: st }), namespace: rt(0, { startsExpr: st }), interface: rt(0, { startsExpr: st }), type: rt(0, { startsExpr: st }) }, a = { at: new O("@"), jsxName: new O("jsxName"), jsxText: new O("jsxText", { beforeExpr: !0 }), jsxTagStart: new O("jsxTagStart", { startsExpr: !0 }), jsxTagEnd: new O("jsxTagEnd") }, o = { tc_oTag: new X("<tag", !1, !1), tc_cTag: new X("</tag", !1, !1), tc_expr: new X("<tag>...</tag>", !0, !0) }, f = new RegExp("^(?:" + Object.keys(s).join("|") + ")$");
3244
+ var s = { assert: rt(0, { startsExpr: st }), asserts: rt(0, { startsExpr: st }), global: rt(0, { startsExpr: st }), keyof: rt(0, { startsExpr: st }), readonly: rt(0, { startsExpr: st }), unique: rt(0, { startsExpr: st }), abstract: rt(0, { startsExpr: st }), declare: rt(0, { startsExpr: st }), enum: rt(0, { startsExpr: st }), module: rt(0, { startsExpr: st }), namespace: rt(0, { startsExpr: st }), interface: rt(0, { startsExpr: st }), type: rt(0, { startsExpr: st }) }, a = { at: new O("@"), jsxName: new O("jsxName"), jsxText: new O("jsxText", { beforeExpr: !0 }), jsxTagStart: new O("jsxTagStart", { startsExpr: !0 }), jsxTagEnd: new O("jsxTagEnd") }, o = { tc_oTag: new X("<tag", !1, !1), tc_cTag: new X("</tag", !1, !1), tc_expr: new X("<tag>...</tag>", !0, !0) }, l = new RegExp("^(?:" + Object.keys(s).join("|") + ")$");
3245
3245
  a.jsxTagStart.updateContext = function() {
3246
3246
  this.context.push(o.tc_expr), this.context.push(o.tc_oTag), this.exprAllowed = !1;
3247
3247
  }, a.jsxTagEnd.updateContext = function(d) {
3248
3248
  var v = this.context.pop();
3249
3249
  v === o.tc_oTag && d === u.slash || v === o.tc_cTag ? (this.context.pop(), this.exprAllowed = this.curContext() === o.tc_expr) : this.exprAllowed = !0;
3250
- }, e = { tokTypes: ne({}, s, a), tokContexts: ne({}, o), keywordsRegExp: f, tokenIsLiteralPropertyName: function(d) {
3250
+ }, e = { tokTypes: ne({}, s, a), tokContexts: ne({}, o), keywordsRegExp: l, tokenIsLiteralPropertyName: function(d) {
3251
3251
  return [u.name, u.string, u.num].concat(Object.values(Lt), Object.values(s)).includes(d);
3252
3252
  }, tokenIsKeywordOrIdentifier: function(d) {
3253
3253
  return [u.name].concat(Object.values(Lt), Object.values(s)).includes(d);
@@ -3263,10 +3263,10 @@ function zs(t) {
3263
3263
  }
3264
3264
  return e;
3265
3265
  }
3266
- var Bt = 1024, Xs = new RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y"), Ye = new RegExp("(?=(" + Xs.source + "))\\1" + /(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source, "y"), jt = function() {
3266
+ var Bt = 1024, Qs = new RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y"), Ye = new RegExp("(?=(" + Qs.source + "))\\1" + /(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source, "y"), jt = function() {
3267
3267
  this.shorthandAssign = void 0, this.trailingComma = void 0, this.parenthesizedAssign = void 0, this.parenthesizedBind = void 0, this.doubleProto = void 0, this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
3268
3268
  };
3269
- function Qs(t, e) {
3269
+ function Js(t, e) {
3270
3270
  var s = e.key.name, a = t[s], o = "true";
3271
3271
  return e.type !== "MethodDefinition" || e.kind !== "get" && e.kind !== "set" || (o = (e.static ? "s" : "i") + e.kind), a === "iget" && o === "iset" || a === "iset" && o === "iget" || a === "sget" && o === "sset" || a === "sset" && o === "sget" ? (t[s] = "true", !1) : !!a || (t[s] = o, !1);
3272
3272
  }
@@ -3311,7 +3311,7 @@ var A = { AbstractMethodHasImplementation: function(t) {
3311
3311
  return "Single type parameter " + e + " should have a trailing comma. Example usage: <" + e + ",>.";
3312
3312
  }, StaticBlockCannotHaveModifier: "Static class blocks cannot have any modifier.", TypeAnnotationAfterAssign: "Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.", TypeImportCannotSpecifyDefaultAndNamed: "A type-only import can specify a default import or named bindings, but not both.", TypeModifierIsUsedInTypeExports: "The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.", TypeModifierIsUsedInTypeImports: "The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.", UnexpectedParameterModifier: "A parameter property is only allowed in a constructor implementation.", UnexpectedReadonly: "'readonly' type modifier is only permitted on array and tuple literal types.", GenericsEndWithComma: "Trailing comma is not allowed at the end of generics.", UnexpectedTypeAnnotation: "Did not expect a type annotation here.", UnexpectedTypeCastInParameter: "Unexpected type cast in parameter position.", UnsupportedImportTypeArgument: "Argument in a type import must be a string literal.", UnsupportedParameterPropertyKind: "A parameter property may not be declared using a binding pattern.", UnsupportedSignatureParameterKind: function(t) {
3313
3313
  return "Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got " + t.type + ".";
3314
- }, LetInLexicalBinding: "'let' is not allowed to be used as a name in 'let' or 'const' declarations." }, Js = { quot: '"', amp: "&", apos: "'", lt: "<", gt: ">", nbsp: " ", iexcl: "¡", cent: "¢", pound: "£", curren: "¤", yen: "¥", brvbar: "¦", sect: "§", uml: "¨", copy: "©", ordf: "ª", laquo: "«", not: "¬", shy: "­", reg: "®", macr: "¯", deg: "°", plusmn: "±", sup2: "²", sup3: "³", acute: "´", micro: "µ", para: "¶", middot: "·", cedil: "¸", sup1: "¹", ordm: "º", raquo: "»", frac14: "¼", frac12: "½", frac34: "¾", iquest: "¿", Agrave: "À", Aacute: "Á", Acirc: "Â", Atilde: "Ã", Auml: "Ä", Aring: "Å", AElig: "Æ", Ccedil: "Ç", Egrave: "È", Eacute: "É", Ecirc: "Ê", Euml: "Ë", Igrave: "Ì", Iacute: "Í", Icirc: "Î", Iuml: "Ï", ETH: "Ð", Ntilde: "Ñ", Ograve: "Ò", Oacute: "Ó", Ocirc: "Ô", Otilde: "Õ", Ouml: "Ö", times: "×", Oslash: "Ø", Ugrave: "Ù", Uacute: "Ú", Ucirc: "Û", Uuml: "Ü", Yacute: "Ý", THORN: "Þ", szlig: "ß", agrave: "à", aacute: "á", acirc: "â", atilde: "ã", auml: "ä", aring: "å", aelig: "æ", ccedil: "ç", egrave: "è", eacute: "é", ecirc: "ê", euml: "ë", igrave: "ì", iacute: "í", icirc: "î", iuml: "ï", eth: "ð", ntilde: "ñ", ograve: "ò", oacute: "ó", ocirc: "ô", otilde: "õ", ouml: "ö", divide: "÷", oslash: "ø", ugrave: "ù", uacute: "ú", ucirc: "û", uuml: "ü", yacute: "ý", thorn: "þ", yuml: "ÿ", OElig: "Œ", oelig: "œ", Scaron: "Š", scaron: "š", Yuml: "Ÿ", fnof: "ƒ", circ: "ˆ", tilde: "˜", Alpha: "Α", Beta: "Β", Gamma: "Γ", Delta: "Δ", Epsilon: "Ε", Zeta: "Ζ", Eta: "Η", Theta: "Θ", Iota: "Ι", Kappa: "Κ", Lambda: "Λ", Mu: "Μ", Nu: "Ν", Xi: "Ξ", Omicron: "Ο", Pi: "Π", Rho: "Ρ", Sigma: "Σ", Tau: "Τ", Upsilon: "Υ", Phi: "Φ", Chi: "Χ", Psi: "Ψ", Omega: "Ω", alpha: "α", beta: "β", gamma: "γ", delta: "δ", epsilon: "ε", zeta: "ζ", eta: "η", theta: "θ", iota: "ι", kappa: "κ", lambda: "λ", mu: "μ", nu: "ν", xi: "ξ", omicron: "ο", pi: "π", rho: "ρ", sigmaf: "ς", sigma: "σ", tau: "τ", upsilon: "υ", phi: "φ", chi: "χ", psi: "ψ", omega: "ω", thetasym: "ϑ", upsih: "ϒ", piv: "ϖ", ensp: " ", emsp: " ", thinsp: " ", zwnj: "‌", zwj: "‍", lrm: "‎", rlm: "‏", ndash: "–", mdash: "—", lsquo: "‘", rsquo: "’", sbquo: "‚", ldquo: "“", rdquo: "”", bdquo: "„", dagger: "†", Dagger: "‡", bull: "•", hellip: "…", permil: "‰", prime: "′", Prime: "″", lsaquo: "‹", rsaquo: "›", oline: "‾", frasl: "⁄", euro: "€", image: "ℑ", weierp: "℘", real: "ℜ", trade: "™", alefsym: "ℵ", larr: "←", uarr: "↑", rarr: "→", darr: "↓", harr: "↔", crarr: "↵", lArr: "⇐", uArr: "⇑", rArr: "⇒", dArr: "⇓", hArr: "⇔", forall: "∀", part: "∂", exist: "∃", empty: "∅", nabla: "∇", isin: "∈", notin: "∉", ni: "∋", prod: "∏", sum: "∑", minus: "−", lowast: "∗", radic: "√", prop: "∝", infin: "∞", ang: "∠", and: "∧", or: "∨", cap: "∩", cup: "∪", int: "∫", there4: "∴", sim: "∼", cong: "≅", asymp: "≈", ne: "≠", equiv: "≡", le: "≤", ge: "≥", sub: "⊂", sup: "⊃", nsub: "⊄", sube: "⊆", supe: "⊇", oplus: "⊕", otimes: "⊗", perp: "⊥", sdot: "⋅", lceil: "⌈", rceil: "⌉", lfloor: "⌊", rfloor: "⌋", lang: "〈", rang: "〉", loz: "◊", spades: "♠", clubs: "♣", hearts: "♥", diams: "♦" }, Ys = /^[\da-fA-F]+$/, Zs = /^\d+$/;
3314
+ }, LetInLexicalBinding: "'let' is not allowed to be used as a name in 'let' or 'const' declarations." }, Ys = { quot: '"', amp: "&", apos: "'", lt: "<", gt: ">", nbsp: " ", iexcl: "¡", cent: "¢", pound: "£", curren: "¤", yen: "¥", brvbar: "¦", sect: "§", uml: "¨", copy: "©", ordf: "ª", laquo: "«", not: "¬", shy: "­", reg: "®", macr: "¯", deg: "°", plusmn: "±", sup2: "²", sup3: "³", acute: "´", micro: "µ", para: "¶", middot: "·", cedil: "¸", sup1: "¹", ordm: "º", raquo: "»", frac14: "¼", frac12: "½", frac34: "¾", iquest: "¿", Agrave: "À", Aacute: "Á", Acirc: "Â", Atilde: "Ã", Auml: "Ä", Aring: "Å", AElig: "Æ", Ccedil: "Ç", Egrave: "È", Eacute: "É", Ecirc: "Ê", Euml: "Ë", Igrave: "Ì", Iacute: "Í", Icirc: "Î", Iuml: "Ï", ETH: "Ð", Ntilde: "Ñ", Ograve: "Ò", Oacute: "Ó", Ocirc: "Ô", Otilde: "Õ", Ouml: "Ö", times: "×", Oslash: "Ø", Ugrave: "Ù", Uacute: "Ú", Ucirc: "Û", Uuml: "Ü", Yacute: "Ý", THORN: "Þ", szlig: "ß", agrave: "à", aacute: "á", acirc: "â", atilde: "ã", auml: "ä", aring: "å", aelig: "æ", ccedil: "ç", egrave: "è", eacute: "é", ecirc: "ê", euml: "ë", igrave: "ì", iacute: "í", icirc: "î", iuml: "ï", eth: "ð", ntilde: "ñ", ograve: "ò", oacute: "ó", ocirc: "ô", otilde: "õ", ouml: "ö", divide: "÷", oslash: "ø", ugrave: "ù", uacute: "ú", ucirc: "û", uuml: "ü", yacute: "ý", thorn: "þ", yuml: "ÿ", OElig: "Œ", oelig: "œ", Scaron: "Š", scaron: "š", Yuml: "Ÿ", fnof: "ƒ", circ: "ˆ", tilde: "˜", Alpha: "Α", Beta: "Β", Gamma: "Γ", Delta: "Δ", Epsilon: "Ε", Zeta: "Ζ", Eta: "Η", Theta: "Θ", Iota: "Ι", Kappa: "Κ", Lambda: "Λ", Mu: "Μ", Nu: "Ν", Xi: "Ξ", Omicron: "Ο", Pi: "Π", Rho: "Ρ", Sigma: "Σ", Tau: "Τ", Upsilon: "Υ", Phi: "Φ", Chi: "Χ", Psi: "Ψ", Omega: "Ω", alpha: "α", beta: "β", gamma: "γ", delta: "δ", epsilon: "ε", zeta: "ζ", eta: "η", theta: "θ", iota: "ι", kappa: "κ", lambda: "λ", mu: "μ", nu: "ν", xi: "ξ", omicron: "ο", pi: "π", rho: "ρ", sigmaf: "ς", sigma: "σ", tau: "τ", upsilon: "υ", phi: "φ", chi: "χ", psi: "ψ", omega: "ω", thetasym: "ϑ", upsih: "ϒ", piv: "ϖ", ensp: " ", emsp: " ", thinsp: " ", zwnj: "‌", zwj: "‍", lrm: "‎", rlm: "‏", ndash: "–", mdash: "—", lsquo: "‘", rsquo: "’", sbquo: "‚", ldquo: "“", rdquo: "”", bdquo: "„", dagger: "†", Dagger: "‡", bull: "•", hellip: "…", permil: "‰", prime: "′", Prime: "″", lsaquo: "‹", rsaquo: "›", oline: "‾", frasl: "⁄", euro: "€", image: "ℑ", weierp: "℘", real: "ℜ", trade: "™", alefsym: "ℵ", larr: "←", uarr: "↑", rarr: "→", darr: "↓", harr: "↔", crarr: "↵", lArr: "⇐", uArr: "⇑", rArr: "⇒", dArr: "⇓", hArr: "⇔", forall: "∀", part: "∂", exist: "∃", empty: "∅", nabla: "∇", isin: "∈", notin: "∉", ni: "∋", prod: "∏", sum: "∑", minus: "−", lowast: "∗", radic: "√", prop: "∝", infin: "∞", ang: "∠", and: "∧", or: "∨", cap: "∩", cup: "∪", int: "∫", there4: "∴", sim: "∼", cong: "≅", asymp: "≈", ne: "≠", equiv: "≡", le: "≤", ge: "≥", sub: "⊂", sup: "⊃", nsub: "⊄", sube: "⊆", supe: "⊇", oplus: "⊕", otimes: "⊗", perp: "⊥", sdot: "⋅", lceil: "⌈", rceil: "⌉", lfloor: "⌊", rfloor: "⌋", lang: "〈", rang: "〉", loz: "◊", spades: "♠", clubs: "♣", hearts: "♥", diams: "♦" }, Zs = /^[\da-fA-F]+$/, tr = /^\d+$/;
3315
3315
  function qt(t) {
3316
3316
  return t && (t.type === "JSXIdentifier" ? t.name : t.type === "JSXNamespacedName" ? t.namespace.name + ":" + t.name.name : t.type === "JSXMemberExpression" ? qt(t.object) + "." + qt(t.property) : void 0);
3317
3317
  }
@@ -3319,16 +3319,16 @@ var Te = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
3319
3319
  function ti(t) {
3320
3320
  if (!t) throw new Error("Assert fail");
3321
3321
  }
3322
- function tr(t) {
3322
+ function er(t) {
3323
3323
  return t === "accessor";
3324
3324
  }
3325
- function er(t) {
3325
+ function ir(t) {
3326
3326
  return t === "in" || t === "out";
3327
3327
  }
3328
3328
  function Se(t, e) {
3329
3329
  return 2 | (t ? 4 : 0) | (e ? 8 : 0);
3330
3330
  }
3331
- function ir(t) {
3331
+ function sr(t) {
3332
3332
  if (t.type !== "MemberExpression") return !1;
3333
3333
  var e = t.property;
3334
3334
  return (!t.computed || !(e.type !== "TemplateLiteral" || e.expressions.length > 0)) && ji(t.object);
@@ -3339,11 +3339,11 @@ function ji(t) {
3339
3339
  function ei(t) {
3340
3340
  return t === "private" || t === "public" || t === "protected";
3341
3341
  }
3342
- function sr(t) {
3343
- var e = {}, s = e.dts, a = s !== void 0 && s, o = e.allowSatisfies, f = o !== void 0 && o;
3342
+ function rr(t) {
3343
+ var e = {}, s = e.dts, a = s !== void 0 && s, o = e.allowSatisfies, l = o !== void 0 && o;
3344
3344
  return function(d) {
3345
- var v = d.acorn || Ws, g = zs(v), h = v.tokTypes, P = v.keywordTypes, N = v.isIdentifierStart, B = v.lineBreak, nt = v.isNewLine, lt = v.tokContexts, _t = v.isIdentifierChar, I = g.tokTypes, Y = g.tokContexts, fe = g.keywordsRegExp, Hi = g.tokenIsLiteralPropertyName, $i = g.tokenIsTemplate, Ki = g.tokenIsTSDeclarationStart, V = g.tokenIsIdentifier, Xt = g.tokenIsKeywordOrIdentifier, Wi = g.tokenIsTSTypeOperator;
3346
- function Gi(S, Z, z) {
3345
+ var v = d.acorn || Ws, g = Xs(v), h = v.tokTypes, P = v.keywordTypes, N = v.isIdentifierStart, B = v.lineBreak, nt = v.isNewLine, lt = v.tokContexts, _t = v.isIdentifierChar, I = g.tokTypes, Y = g.tokContexts, fe = g.keywordsRegExp, Hi = g.tokenIsLiteralPropertyName, $i = g.tokenIsTemplate, Gi = g.tokenIsTSDeclarationStart, V = g.tokenIsIdentifier, Xt = g.tokenIsKeywordOrIdentifier, Ki = g.tokenIsTSTypeOperator;
3346
+ function Wi(S, Z, z) {
3347
3347
  z === void 0 && (z = S.length);
3348
3348
  for (var $ = Z; $ < z; $++) {
3349
3349
  var D = S.charCodeAt($);
@@ -3364,14 +3364,14 @@ function sr(t) {
3364
3364
  c.length && (n.decorators = c, this.resetStartLocationFromNode(n, c[0]), this.decoratorStack[this.decoratorStack.length - 1] = []);
3365
3365
  }, r.parseDecorators = function(n) {
3366
3366
  for (var c = this.decoratorStack[this.decoratorStack.length - 1]; this.match(D.at); ) {
3367
- var l = this.parseDecorator();
3368
- c.push(l);
3367
+ var f = this.parseDecorator();
3368
+ c.push(f);
3369
3369
  }
3370
3370
  this.match($._export) ? n || this.unexpected() : this.canHaveLeadingDecorator() || this.raise(this.start, "Leading decorators must be attached to a class declaration.");
3371
3371
  }, r.parseDecorator = function() {
3372
3372
  var n = this.startNode();
3373
3373
  this.next(), this.decoratorStack.push([]);
3374
- var c, l = this.start, m = this.startLoc;
3374
+ var c, f = this.start, m = this.startLoc;
3375
3375
  if (this.match($.parenL)) {
3376
3376
  var y = this.start, x = this.startLoc;
3377
3377
  if (this.next(), c = this.parseExpression(), this.expect($.parenR), this.options.preserveParens) {
@@ -3379,7 +3379,7 @@ function sr(t) {
3379
3379
  b.expression = c, c = this.finishNode(b, "ParenthesizedExpression");
3380
3380
  }
3381
3381
  } else for (c = this.parseIdent(!1); this.eat($.dot); ) {
3382
- var T = this.startNodeAt(l, m);
3382
+ var T = this.startNodeAt(f, m);
3383
3383
  T.object = c, T.property = this.parseIdent(!0), T.computed = !1, c = this.finishNode(T, "MemberExpression");
3384
3384
  }
3385
3385
  return n.expression = this.parseMaybeDecoratorArguments(c), this.decoratorStack.pop(), this.finishNode(n, "Decorator");
@@ -3394,11 +3394,11 @@ function sr(t) {
3394
3394
  })(d, g, v), d = (function(S, Z, z, $) {
3395
3395
  var D = S.tokTypes, p = Z.tokTypes, i = S.isNewLine, r = S.isIdentifierChar, n = Object.assign({ allowNamespaces: !0, allowNamespacedObjects: !0 }, {});
3396
3396
  return (function(c) {
3397
- function l() {
3397
+ function f() {
3398
3398
  return c.apply(this, arguments) || this;
3399
3399
  }
3400
- Yt(l, c);
3401
- var m = l.prototype;
3400
+ Yt(f, c);
3401
+ var m = f.prototype;
3402
3402
  return m.jsx_readToken = function() {
3403
3403
  for (var y = "", x = this.pos; ; ) {
3404
3404
  this.pos >= this.input.length && this.raise(this.start, "Unterminated JSX contents");
@@ -3435,7 +3435,7 @@ function sr(t) {
3435
3435
  T !== "&" && this.raise(this.pos, "Entity must start with an ampersand");
3436
3436
  for (var E = ++this.pos; this.pos < this.input.length && b++ < 10; ) {
3437
3437
  if ((T = this.input[this.pos++]) === ";") {
3438
- x[0] === "#" ? x[1] === "x" ? (x = x.substr(2), Ys.test(x) && (y = String.fromCharCode(parseInt(x, 16)))) : (x = x.substr(1), Zs.test(x) && (y = String.fromCharCode(parseInt(x, 10)))) : y = Js[x];
3438
+ x[0] === "#" ? x[1] === "x" ? (x = x.substr(2), Zs.test(x) && (y = String.fromCharCode(parseInt(x, 16)))) : (x = x.substr(1), tr.test(x) && (y = String.fromCharCode(parseInt(x, 10)))) : y = Ys[x];
3439
3439
  break;
3440
3440
  }
3441
3441
  x += T;
@@ -3522,7 +3522,7 @@ function sr(t) {
3522
3522
  }, m.jsx_parseElement = function() {
3523
3523
  var y = this.start, x = this.startLoc;
3524
3524
  return this.next(), this.jsx_parseElementAt(y, x);
3525
- }, l;
3525
+ }, f;
3526
3526
  })(z);
3527
3527
  })(v, g, d), d = (function(S, Z, z) {
3528
3528
  var $ = Z.tokTypes, D = z.tokTypes;
@@ -3546,8 +3546,8 @@ function sr(t) {
3546
3546
  var n = [], c = /* @__PURE__ */ new Set();
3547
3547
  do {
3548
3548
  if (this.type === D.braceR) break;
3549
- var l, m = this.startNode();
3550
- l = this.type === D.string ? this.parseLiteral(this.value) : this.parseIdent(!0), this.next(), m.key = l, c.has(m.key.name) && this.raise(this.pos, "Duplicated key in attributes"), c.add(m.key.name), this.type !== D.string && this.raise(this.pos, "Only string is supported as an attribute value"), m.value = this.parseLiteral(this.value), n.push(this.finishNode(m, "ImportAttribute"));
3549
+ var f, m = this.startNode();
3550
+ f = this.type === D.string ? this.parseLiteral(this.value) : this.parseIdent(!0), this.next(), m.key = f, c.has(m.key.name) && this.raise(this.pos, "Duplicated key in attributes"), c.add(m.key.name), this.type !== D.string && this.raise(this.pos, "Only string is supported as an attribute value"), m.value = this.parseLiteral(this.value), n.push(this.finishNode(m, "ImportAttribute"));
3551
3551
  } while (this.eat(D.comma));
3552
3552
  return n;
3553
3553
  }, i;
@@ -3556,9 +3556,9 @@ function sr(t) {
3556
3556
  var zi = /* @__PURE__ */ (function(S) {
3557
3557
  function Z(i, r, n) {
3558
3558
  var c;
3559
- return (c = S.call(this, i, r, n) || this).preValue = null, c.preToken = null, c.isLookahead = !1, c.isAmbientContext = !1, c.inAbstractClass = !1, c.inType = !1, c.inDisallowConditionalTypesContext = !1, c.maybeInArrowParameters = !1, c.shouldParseArrowReturnType = void 0, c.shouldParseAsyncArrowReturnType = void 0, c.decoratorStack = [[]], c.importsStack = [[]], c.importOrExportOuterKind = void 0, c.tsParseConstModifier = c.tsParseModifiers.bind((function(l) {
3560
- if (l === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
3561
- return l;
3559
+ return (c = S.call(this, i, r, n) || this).preValue = null, c.preToken = null, c.isLookahead = !1, c.isAmbientContext = !1, c.inAbstractClass = !1, c.inType = !1, c.inDisallowConditionalTypesContext = !1, c.maybeInArrowParameters = !1, c.shouldParseArrowReturnType = void 0, c.shouldParseAsyncArrowReturnType = void 0, c.decoratorStack = [[]], c.importsStack = [[]], c.importOrExportOuterKind = void 0, c.tsParseConstModifier = c.tsParseModifiers.bind((function(f) {
3560
+ if (f === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
3561
+ return f;
3562
3562
  })(c), { allowedModifiers: ["const"], disallowedModifiers: ["in", "out"], errorTemplate: A.InvalidModifierOnTypeParameterPositions }), c;
3563
3563
  }
3564
3564
  Yt(Z, S);
@@ -3587,14 +3587,14 @@ function sr(t) {
3587
3587
  r === void 0 && (r = this.cloneCurLookaheadState());
3588
3588
  var n = { node: null };
3589
3589
  try {
3590
- return { node: i(function(l) {
3591
- throw l === void 0 && (l = null), n.node = l, n;
3590
+ return { node: i(function(f) {
3591
+ throw f === void 0 && (f = null), n.node = f, n;
3592
3592
  }), error: null, thrown: !1, aborted: !1, failState: null };
3593
- } catch (l) {
3593
+ } catch (f) {
3594
3594
  var c = this.getCurLookaheadState();
3595
- if (this.setLookaheadState(r), l instanceof SyntaxError) return { node: null, error: l, thrown: !0, aborted: !1, failState: c };
3596
- if (l === n) return { node: n.node, error: null, thrown: !1, aborted: !0, failState: c };
3597
- throw l;
3595
+ if (this.setLookaheadState(r), f instanceof SyntaxError) return { node: null, error: f, thrown: !0, aborted: !1, failState: c };
3596
+ if (f === n) return { node: n.node, error: null, thrown: !1, aborted: !0, failState: c };
3597
+ throw f;
3598
3598
  }
3599
3599
  }, p.setOptionalParametersError = function(i, r) {
3600
3600
  var n;
@@ -3630,13 +3630,13 @@ function sr(t) {
3630
3630
  }, p.tsTryParseGenericAsyncArrowFunction = function(i, r, n) {
3631
3631
  var c = this;
3632
3632
  if (this.tsMatchLeftRelational()) {
3633
- var l = this.maybeInArrowParameters;
3633
+ var f = this.maybeInArrowParameters;
3634
3634
  this.maybeInArrowParameters = !0;
3635
3635
  var m = this.tsTryParseAndCatch(function() {
3636
3636
  var y = c.startNodeAt(i, r);
3637
3637
  return y.typeParameters = c.tsParseTypeParameters(), S.prototype.parseFunctionParams.call(c, y), y.returnType = c.tsTryParseTypeOrTypePredicateAnnotation(), c.expect(h.arrow), y;
3638
3638
  });
3639
- if (this.maybeInArrowParameters = l, m) return S.prototype.parseArrowExpression.call(this, m, null, !0, n);
3639
+ if (this.maybeInArrowParameters = f, m) return S.prototype.parseArrowExpression.call(this, m, null, !0, n);
3640
3640
  }
3641
3641
  }, p.tsParseTypeArgumentsInExpression = function() {
3642
3642
  if (this.reScan_lt() === h.relational) return this.tsParseTypeArguments();
@@ -3665,8 +3665,8 @@ function sr(t) {
3665
3665
  return this.input.charCodeAt(this.nextTokenStart());
3666
3666
  }, p.compareLookaheadState = function(i, r) {
3667
3667
  for (var n = 0, c = Object.keys(i); n < c.length; n++) {
3668
- var l = c[n];
3669
- if (i[l] !== r[l]) return !1;
3668
+ var f = c[n];
3669
+ if (i[f] !== r[f]) return !1;
3670
3670
  }
3671
3671
  return !0;
3672
3672
  }, p.createLookaheadState = function() {
@@ -3694,7 +3694,7 @@ function sr(t) {
3694
3694
  var i;
3695
3695
  this.isLookahead || (i = this.options.onComment && this.curPosition());
3696
3696
  var r = this.pos, n = this.input.indexOf("*/", this.pos += 2);
3697
- if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var c, l = r; (c = Gi(this.input, l, this.pos)) > -1; ) ++this.curLine, l = this.lineStart = c;
3697
+ if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var c, f = r; (c = Wi(this.input, f, this.pos)) > -1; ) ++this.curLine, f = this.lineStart = c;
3698
3698
  this.isLookahead || this.options.onComment && this.options.onComment(!0, this.input.slice(r + 2, n), r, this.pos, i, this.curPosition());
3699
3699
  }, p.skipLineComment = function(i) {
3700
3700
  var r, n = this.pos;
@@ -3713,8 +3713,8 @@ function sr(t) {
3713
3713
  return Ye.lastIndex = this.end, Ye.test(this.input);
3714
3714
  }, p.addExtra = function(i, r, n, c) {
3715
3715
  if (c === void 0 && (c = !0), i) {
3716
- var l = i.extra = i.extra || {};
3717
- c ? l[r] = n : Object.defineProperty(l, r, { enumerable: c, value: n });
3716
+ var f = i.extra = i.extra || {};
3717
+ c ? f[r] = n : Object.defineProperty(f, r, { enumerable: c, value: n });
3718
3718
  }
3719
3719
  }, p.isLiteralPropertyName = function() {
3720
3720
  return Hi(this.type);
@@ -3768,7 +3768,7 @@ function sr(t) {
3768
3768
  return !1;
3769
3769
  }
3770
3770
  if (!this.isContextualWithState(i, n)) return !1;
3771
- for (var l = 0; l < r; l++) this.next();
3771
+ for (var f = 0; f < r; f++) this.next();
3772
3772
  return !0;
3773
3773
  }, p.canHaveLeadingDecorator = function() {
3774
3774
  return this.match(h._class);
@@ -3811,8 +3811,8 @@ function sr(t) {
3811
3811
  if (c === I.global) return r.tsParseAmbientExternalModuleDeclaration(i);
3812
3812
  if (c === h._const || c === h._var) return r.match(h._const) && r.isLookaheadContextual("enum") ? (r.expect(h._const), r.tsParseEnumDeclaration(i, { const: !0, declare: !0 })) : (i.declare = !0, r.parseVarStatement(i, n || r.value, !0));
3813
3813
  if (c === I.interface) {
3814
- var l = r.tsParseInterfaceDeclaration(i, { declare: !0 });
3815
- if (l) return l;
3814
+ var f = r.tsParseInterfaceDeclaration(i, { declare: !0 });
3815
+ if (f) return f;
3816
3816
  }
3817
3817
  return V(c) ? r.tsParseDeclaration(i, r.value, !0) : void 0;
3818
3818
  });
@@ -3830,25 +3830,25 @@ function sr(t) {
3830
3830
  return this.tsMatchRightRelational();
3831
3831
  }
3832
3832
  }, p.tsParseDelimitedListWorker = function(i, r, n, c) {
3833
- for (var l = [], m = -1; !this.tsIsListTerminator(i); ) {
3833
+ for (var f = [], m = -1; !this.tsIsListTerminator(i); ) {
3834
3834
  m = -1;
3835
3835
  var y = r();
3836
3836
  if (y == null) return;
3837
- if (l.push(y), !this.eat(h.comma)) {
3837
+ if (f.push(y), !this.eat(h.comma)) {
3838
3838
  if (this.tsIsListTerminator(i)) break;
3839
3839
  return void (n && this.expect(h.comma));
3840
3840
  }
3841
3841
  m = this.lastTokStart;
3842
3842
  }
3843
- return c && (c.value = m), l;
3843
+ return c && (c.value = m), f;
3844
3844
  }, p.tsParseDelimitedList = function(i, r, n) {
3845
3845
  return (function(c) {
3846
3846
  if (c == null) throw new Error("Unexpected " + c + " value.");
3847
3847
  return c;
3848
3848
  })(this.tsParseDelimitedListWorker(i, r, !0, n));
3849
- }, p.tsParseBracketedList = function(i, r, n, c, l) {
3849
+ }, p.tsParseBracketedList = function(i, r, n, c, f) {
3850
3850
  c || this.expect(n ? h.bracketL : h.relational);
3851
- var m = this.tsParseDelimitedList(i, r, l);
3851
+ var m = this.tsParseDelimitedList(i, r, f);
3852
3852
  return this.expect(n ? h.bracketR : h.relational), m;
3853
3853
  }, p.tsParseTypeParameterName = function() {
3854
3854
  return this.parseIdent().name;
@@ -3929,15 +3929,15 @@ function sr(t) {
3929
3929
  return this.tsInType(function() {
3930
3930
  var n = r.startNode();
3931
3931
  r.expect(i);
3932
- var c = r.startNode(), l = !!r.tsTryParse(r.tsParseTypePredicateAsserts.bind(r));
3933
- if (l && r.match(h._this)) {
3932
+ var c = r.startNode(), f = !!r.tsTryParse(r.tsParseTypePredicateAsserts.bind(r));
3933
+ if (f && r.match(h._this)) {
3934
3934
  var m = r.tsParseThisTypeOrThisTypePredicate();
3935
3935
  return m.type === "TSThisType" ? (c.parameterName = m, c.asserts = !0, c.typeAnnotation = null, m = r.finishNode(c, "TSTypePredicate")) : (r.resetStartLocationFromNode(m, c), m.asserts = !0), n.typeAnnotation = m, r.finishNode(n, "TSTypeAnnotation");
3936
3936
  }
3937
3937
  var y = r.tsIsIdentifier() && r.tsTryParse(r.tsParseTypePredicatePrefix.bind(r));
3938
- if (!y) return l ? (c.parameterName = r.parseIdent(), c.asserts = l, c.typeAnnotation = null, n.typeAnnotation = r.finishNode(c, "TSTypePredicate"), r.finishNode(n, "TSTypeAnnotation")) : r.tsParseTypeAnnotation(!1, n);
3938
+ if (!y) return f ? (c.parameterName = r.parseIdent(), c.asserts = f, c.typeAnnotation = null, n.typeAnnotation = r.finishNode(c, "TSTypePredicate"), r.finishNode(n, "TSTypeAnnotation")) : r.tsParseTypeAnnotation(!1, n);
3939
3939
  var x = r.tsParseTypeAnnotation(!1);
3940
- return c.parameterName = y, c.typeAnnotation = x, c.asserts = l, n.typeAnnotation = r.finishNode(c, "TSTypePredicate"), r.finishNode(n, "TSTypeAnnotation");
3940
+ return c.parameterName = y, c.typeAnnotation = x, c.asserts = f, n.typeAnnotation = r.finishNode(c, "TSTypePredicate"), r.finishNode(n, "TSTypeAnnotation");
3941
3941
  });
3942
3942
  }, p.tsFillSignature = function(i, r) {
3943
3943
  var n = i === h.arrow;
@@ -3953,11 +3953,11 @@ function sr(t) {
3953
3953
  return n.tsFillSignature(h.arrow, c);
3954
3954
  }), this.finishNode(c, i);
3955
3955
  }, p.tsParseUnionOrIntersectionType = function(i, r, n) {
3956
- var c = this.startNode(), l = this.eat(n), m = [];
3956
+ var c = this.startNode(), f = this.eat(n), m = [];
3957
3957
  do
3958
3958
  m.push(r());
3959
3959
  while (this.eat(n));
3960
- return m.length !== 1 || l ? (c.types = m, this.finishNode(c, i)) : m[0];
3960
+ return m.length !== 1 || f ? (c.types = m, this.finishNode(c, i)) : m[0];
3961
3961
  }, p.tsCheckTypeAnnotationForReadOnly = function(i) {
3962
3962
  switch (i.typeAnnotation.type) {
3963
3963
  case "TSTupleType":
@@ -4013,11 +4013,11 @@ function sr(t) {
4013
4013
  var i = this.startNode();
4014
4014
  return i.members = this.tsParseObjectTypeMembers(), this.finishNode(i, "TSTypeLiteral");
4015
4015
  }, p.tsParseTupleElementType = function() {
4016
- var i = this.startLoc, r = this.start, n = this.eat(h.ellipsis), c = this.tsParseType(), l = this.eat(h.question);
4016
+ var i = this.startLoc, r = this.start, n = this.eat(h.ellipsis), c = this.tsParseType(), f = this.eat(h.question);
4017
4017
  if (this.eat(h.colon)) {
4018
4018
  var m = this.startNodeAtNode(c);
4019
- m.optional = l, c.type !== "TSTypeReference" || c.typeParameters || c.typeName.type !== "Identifier" ? (this.raise(c.start, A.InvalidTupleMemberLabel), m.label = c) : m.label = c.typeName, m.elementType = this.tsParseType(), c = this.finishNode(m, "TSNamedTupleMember");
4020
- } else if (l) {
4019
+ m.optional = f, c.type !== "TSTypeReference" || c.typeParameters || c.typeName.type !== "Identifier" ? (this.raise(c.start, A.InvalidTupleMemberLabel), m.label = c) : m.label = c.typeName, m.elementType = this.tsParseType(), c = this.finishNode(m, "TSNamedTupleMember");
4020
+ } else if (f) {
4021
4021
  var y = this.startNodeAtNode(c);
4022
4022
  y.typeAnnotation = c, c = this.finishNode(y, "TSOptionalType");
4023
4023
  }
@@ -4030,13 +4030,13 @@ function sr(t) {
4030
4030
  var i = this, r = this.startNode();
4031
4031
  r.elementTypes = this.tsParseBracketedList("TupleElementTypes", this.tsParseTupleElementType.bind(this), !0, !1);
4032
4032
  var n = !1, c = null;
4033
- return r.elementTypes.forEach(function(l) {
4034
- var m = l.type;
4035
- !n || m === "TSRestType" || m === "TSOptionalType" || m === "TSNamedTupleMember" && l.optional || i.raise(l.start, A.OptionalTypeBeforeRequired), n || (n = m === "TSNamedTupleMember" && l.optional || m === "TSOptionalType");
4033
+ return r.elementTypes.forEach(function(f) {
4034
+ var m = f.type;
4035
+ !n || m === "TSRestType" || m === "TSOptionalType" || m === "TSNamedTupleMember" && f.optional || i.raise(f.start, A.OptionalTypeBeforeRequired), n || (n = m === "TSNamedTupleMember" && f.optional || m === "TSOptionalType");
4036
4036
  var y = m;
4037
- m === "TSRestType" && (y = (l = l.typeAnnotation).type);
4037
+ m === "TSRestType" && (y = (f = f.typeAnnotation).type);
4038
4038
  var x = y === "TSNamedTupleMember";
4039
- c != null || (c = x), c !== x && i.raise(l.start, A.MixedLabeledAndUnlabeledElements);
4039
+ c != null || (c = x), c !== x && i.raise(f.start, A.MixedLabeledAndUnlabeledElements);
4040
4040
  }), this.finishNode(r, "TSTupleType");
4041
4041
  }, p.tsParseTemplateLiteralType = function() {
4042
4042
  var i = this.startNode();
@@ -4082,8 +4082,8 @@ function sr(t) {
4082
4082
  default:
4083
4083
  var r = this.type;
4084
4084
  if (V(r) || r === h._void || r === h._null) {
4085
- var n = r === h._void ? "TSVoidKeyword" : r === h._null ? "TSNullKeyword" : (function(l) {
4086
- switch (l) {
4085
+ var n = r === h._void ? "TSVoidKeyword" : r === h._null ? "TSNullKeyword" : (function(f) {
4086
+ switch (f) {
4087
4087
  case "any":
4088
4088
  return "TSAnyKeyword";
4089
4089
  case "boolean":
@@ -4127,7 +4127,7 @@ function sr(t) {
4127
4127
  return i;
4128
4128
  }, p.tsParseTypeOperatorOrHigher = function() {
4129
4129
  var i = this;
4130
- return Wi(this.type) && !this.containsEsc ? this.tsParseTypeOperator() : this.isContextual("infer") ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(function() {
4130
+ return Ki(this.type) && !this.containsEsc ? this.tsParseTypeOperator() : this.isContextual("infer") ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(function() {
4131
4131
  return i.tsParseArrayTypeOrHigher();
4132
4132
  });
4133
4133
  }, p.tsParseIntersectionTypeOrHigher = function() {
@@ -4196,19 +4196,19 @@ function sr(t) {
4196
4196
  }
4197
4197
  }
4198
4198
  }, p.tsParseModifiersByMap = function(i) {
4199
- for (var r = i.modified, n = i.map, c = 0, l = Object.keys(n); c < l.length; c++) {
4200
- var m = l[c];
4199
+ for (var r = i.modified, n = i.map, c = 0, f = Object.keys(n); c < f.length; c++) {
4200
+ var m = f[c];
4201
4201
  r[m] = n[m];
4202
4202
  }
4203
4203
  }, p.tsParseModifiers = function(i) {
4204
- for (var r = this, n = i.modified, c = i.allowedModifiers, l = i.disallowedModifiers, m = i.stopOnStartOfClassStaticBlock, y = i.errorTemplate, x = y === void 0 ? A.InvalidModifierOnTypeMember : y, b = {}, T = function(U, j, q, K) {
4205
- j === q && n[K] && r.raise(U.column, A.InvalidModifiersOrder({ orderedModifiers: [q, K] }));
4206
- }, E = function(U, j, q, K) {
4207
- (n[q] && j === K || n[K] && j === q) && r.raise(U.column, A.IncompatibleModifiers({ modifiers: [q, K] }));
4204
+ for (var r = this, n = i.modified, c = i.allowedModifiers, f = i.disallowedModifiers, m = i.stopOnStartOfClassStaticBlock, y = i.errorTemplate, x = y === void 0 ? A.InvalidModifierOnTypeMember : y, b = {}, T = function(U, j, q, G) {
4205
+ j === q && n[G] && r.raise(U.column, A.InvalidModifiersOrder({ orderedModifiers: [q, G] }));
4206
+ }, E = function(U, j, q, G) {
4207
+ (n[q] && j === G || n[G] && j === q) && r.raise(U.column, A.IncompatibleModifiers({ modifiers: [q, G] }));
4208
4208
  }; ; ) {
4209
- var L = this.startLoc, k = this.tsParseModifier(c.concat(l ?? []), m);
4209
+ var L = this.startLoc, k = this.tsParseModifier(c.concat(f ?? []), m);
4210
4210
  if (!k) break;
4211
- ei(k) ? n.accessibility ? this.raise(this.start, A.DuplicateAccessibilityModifier()) : (T(L, k, k, "override"), T(L, k, k, "static"), T(L, k, k, "readonly"), T(L, k, k, "accessor"), b.accessibility = k, n.accessibility = k) : er(k) ? n[k] ? this.raise(this.start, A.DuplicateModifier({ modifier: k })) : (T(L, k, "in", "out"), b[k] = k, n[k] = !0) : tr(k) ? n[k] ? this.raise(this.start, A.DuplicateModifier({ modifier: k })) : (E(L, k, "accessor", "readonly"), E(L, k, "accessor", "static"), E(L, k, "accessor", "override"), b[k] = k, n[k] = !0) : Object.hasOwnProperty.call(n, k) ? this.raise(this.start, A.DuplicateModifier({ modifier: k })) : (T(L, k, "static", "readonly"), T(L, k, "static", "override"), T(L, k, "override", "readonly"), T(L, k, "abstract", "override"), E(L, k, "declare", "override"), E(L, k, "static", "abstract"), b[k] = k, n[k] = !0), l != null && l.includes(k) && this.raise(this.start, x);
4211
+ ei(k) ? n.accessibility ? this.raise(this.start, A.DuplicateAccessibilityModifier()) : (T(L, k, k, "override"), T(L, k, k, "static"), T(L, k, k, "readonly"), T(L, k, k, "accessor"), b.accessibility = k, n.accessibility = k) : ir(k) ? n[k] ? this.raise(this.start, A.DuplicateModifier({ modifier: k })) : (T(L, k, "in", "out"), b[k] = k, n[k] = !0) : er(k) ? n[k] ? this.raise(this.start, A.DuplicateModifier({ modifier: k })) : (E(L, k, "accessor", "readonly"), E(L, k, "accessor", "static"), E(L, k, "accessor", "override"), b[k] = k, n[k] = !0) : Object.hasOwnProperty.call(n, k) ? this.raise(this.start, A.DuplicateModifier({ modifier: k })) : (T(L, k, "static", "readonly"), T(L, k, "static", "override"), T(L, k, "override", "readonly"), T(L, k, "abstract", "override"), E(L, k, "declare", "override"), E(L, k, "static", "abstract"), b[k] = k, n[k] = !0), f != null && f.includes(k) && this.raise(this.start, x);
4212
4212
  }
4213
4213
  return b;
4214
4214
  }, p.tsParseInOutModifiers = function(i) {
@@ -4222,8 +4222,8 @@ function sr(t) {
4222
4222
  }), r.params.length === 0 && this.raise(this.start, A.EmptyTypeArguments), this.exprAllowed = !1, this.expect(h.relational), this.finishNode(r, "TSTypeParameterInstantiation");
4223
4223
  }, p.tsParseHeritageClause = function(i) {
4224
4224
  var r = this, n = this.start, c = this.tsParseDelimitedList("HeritageClauseElement", function() {
4225
- var l = r.startNode();
4226
- return l.expression = r.tsParseEntityName(), r.tsMatchLeftRelational() && (l.typeParameters = r.tsParseTypeArguments()), r.finishNode(l, "TSExpressionWithTypeArguments");
4225
+ var f = r.startNode();
4226
+ return f.expression = r.tsParseEntityName(), r.tsMatchLeftRelational() && (f.typeParameters = r.tsParseTypeArguments()), r.finishNode(f, "TSExpressionWithTypeArguments");
4227
4227
  });
4228
4228
  return c.length || this.raise(n, A.EmptyHeritageClauseType({ token: i })), c;
4229
4229
  }, p.tsParseTypeMemberSemicolon = function() {
@@ -4242,12 +4242,12 @@ function sr(t) {
4242
4242
  r && this.raise(i.start, A.ReadonlyForMethodSignature);
4243
4243
  var c = n;
4244
4244
  c.kind && this.tsMatchLeftRelational() && this.raise(this.start, A.AccesorCannotHaveTypeParameters), this.tsFillSignature(h.colon, c), this.tsParseTypeMemberSemicolon();
4245
- var l = "parameters", m = "typeAnnotation";
4246
- if (c.kind === "get") c[l].length > 0 && (this.raise(this.start, "A 'get' accesor must not have any formal parameters."), this.isThisParam(c[l][0]) && this.raise(this.start, A.AccesorCannotDeclareThisParameter));
4245
+ var f = "parameters", m = "typeAnnotation";
4246
+ if (c.kind === "get") c[f].length > 0 && (this.raise(this.start, "A 'get' accesor must not have any formal parameters."), this.isThisParam(c[f][0]) && this.raise(this.start, A.AccesorCannotDeclareThisParameter));
4247
4247
  else if (c.kind === "set") {
4248
- if (c[l].length !== 1) this.raise(this.start, "A 'get' accesor must not have any formal parameters.");
4248
+ if (c[f].length !== 1) this.raise(this.start, "A 'get' accesor must not have any formal parameters.");
4249
4249
  else {
4250
- var y = c[l][0];
4250
+ var y = c[f][0];
4251
4251
  this.isThisParam(y) && this.raise(this.start, A.AccesorCannotDeclareThisParameter), y.type === "Identifier" && y.optional && this.raise(this.start, A.SetAccesorCannotHaveOptionalParameter), y.type === "RestElement" && this.raise(this.start, A.SetAccesorCannotHaveRestParameter);
4252
4252
  }
4253
4253
  c[m] && this.raise(c[m].start, A.SetAccesorCannotHaveReturnType);
@@ -4284,7 +4284,7 @@ function sr(t) {
4284
4284
  if (!this.hasFollowingLineBreak()) return i.abstract = !0, this.tsParseInterfaceDeclaration(i);
4285
4285
  } else this.unexpected(i.start);
4286
4286
  }, p.tsIsDeclarationStart = function() {
4287
- return Ki(this.type);
4287
+ return Gi(this.type);
4288
4288
  }, p.tsParseExpressionStatement = function(i, r) {
4289
4289
  switch (r.name) {
4290
4290
  case "declare":
@@ -4312,10 +4312,10 @@ function sr(t) {
4312
4312
  if (V(c.type) && !this.isContextualWithState("from", c) || c.type === h.braceL) return !1;
4313
4313
  }
4314
4314
  } else if (!this.match(h._default)) return !1;
4315
- var l = this.nextTokenStart(), m = this.isUnparsedContextual(l, "from");
4316
- if (this.input.charCodeAt(l) === 44 || V(this.type) && m) return !0;
4315
+ var f = this.nextTokenStart(), m = this.isUnparsedContextual(f, "from");
4316
+ if (this.input.charCodeAt(f) === 44 || V(this.type) && m) return !0;
4317
4317
  if (this.match(h._default) && m) {
4318
- var y = this.input.charCodeAt(this.nextTokenStartSince(l + 4));
4318
+ var y = this.input.charCodeAt(this.nextTokenStartSince(f + 4));
4319
4319
  return y === 34 || y === 39;
4320
4320
  }
4321
4321
  return !1;
@@ -4382,25 +4382,25 @@ function sr(t) {
4382
4382
  var n = this.nextTokenStart(), c = this.isUnparsedContextual(n, "from");
4383
4383
  if (this.input.charCodeAt(n) === 44 || V(this.type) && c) return !0;
4384
4384
  if (this.match(h._default) && c) {
4385
- var l = this.input.charCodeAt(this.nextTokenStartSince(n + 4));
4386
- return l === 34 || l === 39;
4385
+ var f = this.input.charCodeAt(this.nextTokenStartSince(n + 4));
4386
+ return f === 34 || f === 39;
4387
4387
  }
4388
4388
  return !1;
4389
4389
  }, p.parseTemplate = function(i) {
4390
4390
  var r = (i === void 0 ? {} : i).isTagged, n = r !== void 0 && r, c = this.startNode();
4391
4391
  this.next(), c.expressions = [];
4392
- var l = this.parseTemplateElement({ isTagged: n });
4393
- for (c.quasis = [l]; !l.tail; ) this.type === h.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(h.dollarBraceL), c.expressions.push(this.inType ? this.tsParseType() : this.parseExpression()), this.expect(h.braceR), c.quasis.push(l = this.parseTemplateElement({ isTagged: n }));
4392
+ var f = this.parseTemplateElement({ isTagged: n });
4393
+ for (c.quasis = [f]; !f.tail; ) this.type === h.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(h.dollarBraceL), c.expressions.push(this.inType ? this.tsParseType() : this.parseExpression()), this.expect(h.braceR), c.quasis.push(f = this.parseTemplateElement({ isTagged: n }));
4394
4394
  return this.next(), this.finishNode(c, "TemplateLiteral");
4395
- }, p.parseFunction = function(i, r, n, c, l) {
4395
+ }, p.parseFunction = function(i, r, n, c, f) {
4396
4396
  this.initFunction(i), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !c) && (this.type === h.star && 2 & r && this.unexpected(), i.generator = this.eat(h.star)), this.options.ecmaVersion >= 8 && (i.async = !!c), 1 & r && (i.id = 4 & r && this.type !== h.name ? null : this.parseIdent());
4397
4397
  var m = this.yieldPos, y = this.awaitPos, x = this.awaitIdentPos, b = this.maybeInArrowParameters;
4398
4398
  this.maybeInArrowParameters = !1, this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Se(i.async, i.generator)), 1 & r || (i.id = this.type === h.name ? this.parseIdent() : null), this.parseFunctionParams(i);
4399
4399
  var T = 1 & r;
4400
- return this.parseFunctionBody(i, n, !1, l, { isFunctionDeclaration: T }), this.yieldPos = m, this.awaitPos = y, this.awaitIdentPos = x, 1 & r && i.id && !(2 & r) && this.checkLValSimple(i.id, i.body ? this.strict || i.generator || i.async ? this.treatFunctionsAsVar ? 1 : 2 : 3 : 0), this.maybeInArrowParameters = b, this.finishNode(i, T ? "FunctionDeclaration" : "FunctionExpression");
4401
- }, p.parseFunctionBody = function(i, r, n, c, l) {
4400
+ return this.parseFunctionBody(i, n, !1, f, { isFunctionDeclaration: T }), this.yieldPos = m, this.awaitPos = y, this.awaitIdentPos = x, 1 & r && i.id && !(2 & r) && this.checkLValSimple(i.id, i.body ? this.strict || i.generator || i.async ? this.treatFunctionsAsVar ? 1 : 2 : 3 : 0), this.maybeInArrowParameters = b, this.finishNode(i, T ? "FunctionDeclaration" : "FunctionExpression");
4401
+ }, p.parseFunctionBody = function(i, r, n, c, f) {
4402
4402
  r === void 0 && (r = !1), n === void 0 && (n = !1), c === void 0 && (c = !1), this.match(h.colon) && (i.returnType = this.tsParseTypeOrTypePredicateAnnotation(h.colon));
4403
- var m = l != null && l.isFunctionDeclaration ? "TSDeclareFunction" : l != null && l.isClassMethod ? "TSDeclareMethod" : void 0;
4403
+ var m = f != null && f.isFunctionDeclaration ? "TSDeclareFunction" : f != null && f.isClassMethod ? "TSDeclareMethod" : void 0;
4404
4404
  return m && !this.match(h.braceL) && this.isLineTerminator() ? this.finishNode(i, m) : m === "TSDeclareFunction" && this.isAmbientContext && (this.raise(i.start, A.DeclareFunctionHasImplementation), i.declare) ? (S.prototype.parseFunctionBody.call(this, i, r, n, !1), this.finishNode(i, m)) : (S.prototype.parseFunctionBody.call(this, i, r, n, c), i);
4405
4405
  }, p.parseNew = function() {
4406
4406
  var i;
@@ -4411,19 +4411,19 @@ function sr(t) {
4411
4411
  var c = this.containsEsc;
4412
4412
  return r.property = this.parseIdent(!0), r.property.name !== "target" && this.raiseRecoverable(r.property.start, "The only valid meta property for new is 'new.target'"), c && this.raiseRecoverable(r.start, "'new.target' must not contain escaped characters"), this.allowNewDotTarget || this.raiseRecoverable(r.start, "'new.target' can only be used in functions and class static block"), this.finishNode(r, "MetaProperty");
4413
4413
  }
4414
- var l = this.start, m = this.startLoc, y = this.type === h._import;
4415
- r.callee = this.parseSubscripts(this.parseExprAtom(), l, m, !0, !1), y && r.callee.type === "ImportExpression" && this.raise(l, "Cannot use new with import()");
4414
+ var f = this.start, m = this.startLoc, y = this.type === h._import;
4415
+ r.callee = this.parseSubscripts(this.parseExprAtom(), f, m, !0, !1), y && r.callee.type === "ImportExpression" && this.raise(f, "Cannot use new with import()");
4416
4416
  var x = r.callee;
4417
4417
  return x.type !== "TSInstantiationExpression" || (i = x.extra) != null && i.parenthesized || (r.typeParameters = x.typeParameters, r.callee = x.expression), r.arguments = this.eat(h.parenL) ? this.parseExprList(h.parenR, this.options.ecmaVersion >= 8, !1) : [], this.finishNode(r, "NewExpression");
4418
- }, p.parseExprOp = function(i, r, n, c, l) {
4418
+ }, p.parseExprOp = function(i, r, n, c, f) {
4419
4419
  var m;
4420
- if (h._in.binop > c && !this.hasPrecedingLineBreak() && (this.isContextual("as") && (m = "TSAsExpression"), f && this.isContextual("satisfies") && (m = "TSSatisfiesExpression"), m)) {
4420
+ if (h._in.binop > c && !this.hasPrecedingLineBreak() && (this.isContextual("as") && (m = "TSAsExpression"), l && this.isContextual("satisfies") && (m = "TSSatisfiesExpression"), m)) {
4421
4421
  var y = this.startNodeAt(r, n);
4422
4422
  y.expression = i;
4423
4423
  var x = this.tsTryNextParseConstantContext();
4424
- return y.typeAnnotation = x || this.tsNextThenParseType(), this.finishNode(y, m), this.reScan_lt_gt(), this.parseExprOp(y, r, n, c, l);
4424
+ return y.typeAnnotation = x || this.tsNextThenParseType(), this.finishNode(y, m), this.reScan_lt_gt(), this.parseExprOp(y, r, n, c, f);
4425
4425
  }
4426
- return S.prototype.parseExprOp.call(this, i, r, n, c, l);
4426
+ return S.prototype.parseExprOp.call(this, i, r, n, c, f);
4427
4427
  }, p.parseImportSpecifiers = function() {
4428
4428
  var i = [], r = !0;
4429
4429
  if (g.tokenIsIdentifier(this.type) && (i.push(this.parseImportDefaultSpecifier()), !this.eat(h.comma))) return i;
@@ -4475,8 +4475,8 @@ function sr(t) {
4475
4475
  return this.importOrExportOuterKind = void 0, c;
4476
4476
  }
4477
4477
  if (this.ts_eatWithState(h.eq, 2, n)) {
4478
- var l = i;
4479
- return l.expression = this.parseExpression(), this.semicolon(), this.importOrExportOuterKind = void 0, this.finishNode(l, "TSExportAssignment");
4478
+ var f = i;
4479
+ return f.expression = this.parseExpression(), this.semicolon(), this.importOrExportOuterKind = void 0, this.finishNode(f, "TSExportAssignment");
4480
4480
  }
4481
4481
  if (this.ts_eatContextualWithState("as", 2, n)) {
4482
4482
  var m = i;
@@ -4516,11 +4516,11 @@ function sr(t) {
4516
4516
  if (this.type === I.jsxTagStart) return this.jsx_parseElement();
4517
4517
  if (this.type === I.at) return this.parseDecorators(), this.parseExprAtom();
4518
4518
  if (V(this.type)) {
4519
- var c = this.potentialArrowAt === this.start, l = this.start, m = this.startLoc, y = this.containsEsc, x = this.parseIdent(!1);
4520
- if (this.options.ecmaVersion >= 8 && !y && x.name === "async" && !this.canInsertSemicolon() && this.eat(h._function)) return this.overrideContext(lt.f_expr), this.parseFunction(this.startNodeAt(l, m), 0, !1, !0, r);
4519
+ var c = this.potentialArrowAt === this.start, f = this.start, m = this.startLoc, y = this.containsEsc, x = this.parseIdent(!1);
4520
+ if (this.options.ecmaVersion >= 8 && !y && x.name === "async" && !this.canInsertSemicolon() && this.eat(h._function)) return this.overrideContext(lt.f_expr), this.parseFunction(this.startNodeAt(f, m), 0, !1, !0, r);
4521
4521
  if (c && !this.canInsertSemicolon()) {
4522
- if (this.eat(h.arrow)) return this.parseArrowExpression(this.startNodeAt(l, m), [x], !1, r);
4523
- if (this.options.ecmaVersion >= 8 && x.name === "async" && this.type === h.name && !y && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc)) return x = this.parseIdent(!1), !this.canInsertSemicolon() && this.eat(h.arrow) || this.unexpected(), this.parseArrowExpression(this.startNodeAt(l, m), [x], !0, r);
4522
+ if (this.eat(h.arrow)) return this.parseArrowExpression(this.startNodeAt(f, m), [x], !1, r);
4523
+ if (this.options.ecmaVersion >= 8 && x.name === "async" && this.type === h.name && !y && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc)) return x = this.parseIdent(!1), !this.canInsertSemicolon() && this.eat(h.arrow) || this.unexpected(), this.parseArrowExpression(this.startNodeAt(f, m), [x], !0, r);
4524
4524
  }
4525
4525
  return x;
4526
4526
  }
@@ -4533,8 +4533,8 @@ function sr(t) {
4533
4533
  if (c === h._function) return this.next(), this.parseFunction(this.startNodeAtNode(n), void 0, !0, !0);
4534
4534
  if (V(c)) {
4535
4535
  if (this.lookaheadCharCode() === 61) {
4536
- var l = this.parseIdent(!1);
4537
- return !this.canInsertSemicolon() && this.eat(h.arrow) || this.unexpected(), this.parseArrowExpression(this.startNodeAtNode(n), [l], !0);
4536
+ var f = this.parseIdent(!1);
4537
+ return !this.canInsertSemicolon() && this.eat(h.arrow) || this.unexpected(), this.parseArrowExpression(this.startNodeAtNode(n), [f], !0);
4538
4538
  }
4539
4539
  return n;
4540
4540
  }
@@ -4549,13 +4549,13 @@ function sr(t) {
4549
4549
  n === void 0 && (n = !1);
4550
4550
  var c = this.isAmbientContext;
4551
4551
  this.next(), S.prototype.parseVar.call(this, i, !1, r, n || c), this.semicolon();
4552
- var l = this.finishNode(i, "VariableDeclaration");
4553
- if (!c) return l;
4554
- for (var m, y = Je(l.declarations); !(m = y()).done; ) {
4552
+ var f = this.finishNode(i, "VariableDeclaration");
4553
+ if (!c) return f;
4554
+ for (var m, y = Je(f.declarations); !(m = y()).done; ) {
4555
4555
  var x = m.value, b = x.init;
4556
- b && (r !== "const" || x.id.typeAnnotation ? this.raise(b.start, A.InitializerNotAllowedInAmbientContext) : b.type !== "StringLiteral" && b.type !== "BooleanLiteral" && b.type !== "NumericLiteral" && b.type !== "BigIntLiteral" && (b.type !== "TemplateLiteral" || b.expressions.length > 0) && !ir(b) && this.raise(b.start, A.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
4556
+ b && (r !== "const" || x.id.typeAnnotation ? this.raise(b.start, A.InitializerNotAllowedInAmbientContext) : b.type !== "StringLiteral" && b.type !== "BooleanLiteral" && b.type !== "NumericLiteral" && b.type !== "BigIntLiteral" && (b.type !== "TemplateLiteral" || b.expressions.length > 0) && !sr(b) && this.raise(b.start, A.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
4557
4557
  }
4558
- return l;
4558
+ return f;
4559
4559
  }, p.parseStatement = function(i, r, n) {
4560
4560
  if (this.match(I.at) && this.parseDecorators(!0), this.match(h._const) && this.isLookaheadContextual("enum")) {
4561
4561
  var c = this.startNode();
@@ -4563,8 +4563,8 @@ function sr(t) {
4563
4563
  }
4564
4564
  if (this.ts_isContextual(I.enum)) return this.tsParseEnumDeclaration(this.startNode());
4565
4565
  if (this.ts_isContextual(I.interface)) {
4566
- var l = this.tsParseInterfaceDeclaration(this.startNode());
4567
- if (l) return l;
4566
+ var f = this.tsParseInterfaceDeclaration(this.startNode());
4567
+ if (f) return f;
4568
4568
  }
4569
4569
  return S.prototype.parseStatement.call(this, i, r, n);
4570
4570
  }, p.parseAccessModifier = function() {
@@ -4575,18 +4575,18 @@ function sr(t) {
4575
4575
  return (r.type === "Identifier" ? this.tsParseExpressionStatement(i, r) : void 0) || S.prototype.parseExpressionStatement.call(this, i, r);
4576
4576
  }, p.shouldParseExportStatement = function() {
4577
4577
  return !!this.tsIsDeclarationStart() || !!this.match(I.at) || S.prototype.shouldParseExportStatement.call(this);
4578
- }, p.parseConditional = function(i, r, n, c, l) {
4578
+ }, p.parseConditional = function(i, r, n, c, f) {
4579
4579
  if (this.eat(h.question)) {
4580
4580
  var m = this.startNodeAt(r, n);
4581
4581
  return m.test = i, m.consequent = this.parseMaybeAssign(), this.expect(h.colon), m.alternate = this.parseMaybeAssign(c), this.finishNode(m, "ConditionalExpression");
4582
4582
  }
4583
4583
  return i;
4584
4584
  }, p.parseMaybeConditional = function(i, r) {
4585
- var n = this, c = this.start, l = this.startLoc, m = this.parseExprOps(i, r);
4585
+ var n = this, c = this.start, f = this.startLoc, m = this.parseExprOps(i, r);
4586
4586
  if (this.checkExpressionErrors(r)) return m;
4587
- if (!this.maybeInArrowParameters || !this.match(h.question)) return this.parseConditional(m, c, l, i, r);
4587
+ if (!this.maybeInArrowParameters || !this.match(h.question)) return this.parseConditional(m, c, f, i, r);
4588
4588
  var y = this.tryParse(function() {
4589
- return n.parseConditional(m, c, l, i, r);
4589
+ return n.parseConditional(m, c, f, i, r);
4590
4590
  });
4591
4591
  return y.node ? (y.error && this.setLookaheadState(y.failState), y.node) : (y.error && this.setOptionalParametersError(r, y.error), m);
4592
4592
  }, p.parseParenItem = function(i) {
@@ -4601,10 +4601,10 @@ function sr(t) {
4601
4601
  if (!this.isAmbientContext && this.ts_isContextual(I.declare)) return this.tsInAmbientContext(function() {
4602
4602
  return r.parseExportDeclaration(i);
4603
4603
  });
4604
- var n = this.start, c = this.startLoc, l = this.eatContextual("declare");
4605
- !l || !this.ts_isContextual(I.declare) && this.shouldParseExportStatement() || this.raise(this.start, A.ExpectedAmbientAfterExportDeclare);
4604
+ var n = this.start, c = this.startLoc, f = this.eatContextual("declare");
4605
+ !f || !this.ts_isContextual(I.declare) && this.shouldParseExportStatement() || this.raise(this.start, A.ExpectedAmbientAfterExportDeclare);
4606
4606
  var m = V(this.type) && this.tsTryParseExportDeclaration() || this.parseStatement(null);
4607
- return m ? ((m.type === "TSInterfaceDeclaration" || m.type === "TSTypeAliasDeclaration" || l) && (i.exportKind = "type"), l && (this.resetStartLocation(m, n, c), m.declare = !0), m) : null;
4607
+ return m ? ((m.type === "TSInterfaceDeclaration" || m.type === "TSTypeAliasDeclaration" || f) && (i.exportKind = "type"), f && (this.resetStartLocation(m, n, c), m.declare = !0), m) : null;
4608
4608
  }, p.parseClassId = function(i, r) {
4609
4609
  if (r || !this.isContextual("implements")) {
4610
4610
  S.prototype.parseClassId.call(this, i, r);
@@ -4623,8 +4623,8 @@ function sr(t) {
4623
4623
  }
4624
4624
  return S.prototype.parseClassField.call(this, i);
4625
4625
  }, p.parseClassMethod = function(i, r, n, c) {
4626
- var l = i.kind === "constructor", m = i.key.type === "PrivateIdentifier", y = this.tsTryParseTypeParameters();
4627
- m ? (y && (i.typeParameters = y), i.accessibility && this.raise(i.start, A.PrivateMethodsHasAccessibility({ modifier: i.accessibility }))) : y && l && this.raise(y.start, A.ConstructorHasTypeParameters);
4626
+ var f = i.kind === "constructor", m = i.key.type === "PrivateIdentifier", y = this.tsTryParseTypeParameters();
4627
+ m ? (y && (i.typeParameters = y), i.accessibility && this.raise(i.start, A.PrivateMethodsHasAccessibility({ modifier: i.accessibility }))) : y && f && this.raise(y.start, A.ConstructorHasTypeParameters);
4628
4628
  var x = i.declare, b = i.kind;
4629
4629
  !(x !== void 0 && x) || b !== "get" && b !== "set" || this.raise(i.start, A.DeclareAccessor({ kind: b })), y && (i.typeParameters = y);
4630
4630
  var T = i.key;
@@ -4636,25 +4636,25 @@ function sr(t) {
4636
4636
  }, p.parseClassElement = function(i) {
4637
4637
  var r = this;
4638
4638
  if (this.eat(h.semi)) return null;
4639
- var n, c = this.options.ecmaVersion, l = this.startNode(), m = "", y = !1, x = !1, b = "method", T = ["declare", "private", "public", "protected", "accessor", "override", "abstract", "readonly", "static"], E = this.tsParseModifiers({ modified: l, allowedModifiers: T, disallowedModifiers: ["in", "out"], stopOnStartOfClassStaticBlock: !0, errorTemplate: A.InvalidModifierOnTypeParameterPositions });
4639
+ var n, c = this.options.ecmaVersion, f = this.startNode(), m = "", y = !1, x = !1, b = "method", T = ["declare", "private", "public", "protected", "accessor", "override", "abstract", "readonly", "static"], E = this.tsParseModifiers({ modified: f, allowedModifiers: T, disallowedModifiers: ["in", "out"], stopOnStartOfClassStaticBlock: !0, errorTemplate: A.InvalidModifierOnTypeParameterPositions });
4640
4640
  n = !!E.static;
4641
4641
  var L = function() {
4642
4642
  if (!r.tsIsStartOfStaticBlocks()) {
4643
- var k = r.tsTryParseIndexSignature(l);
4644
- if (k) return l.abstract && r.raise(l.start, A.IndexSignatureHasAbstract), l.accessibility && r.raise(l.start, A.IndexSignatureHasAccessibility({ modifier: l.accessibility })), l.declare && r.raise(l.start, A.IndexSignatureHasDeclare), l.override && r.raise(l.start, A.IndexSignatureHasOverride), k;
4645
- if (!r.inAbstractClass && l.abstract && r.raise(l.start, A.NonAbstractClassHasAbstractMethod), l.override && i && r.raise(l.start, A.OverrideNotInSubClass), l.static = n, n && (r.isClassElementNameStart() || r.type === h.star || (m = "static")), !m && c >= 8 && r.eatContextual("async") && (!r.isClassElementNameStart() && r.type !== h.star || r.canInsertSemicolon() ? m = "async" : x = !0), !m && (c >= 9 || !x) && r.eat(h.star) && (y = !0), !m && !x && !y) {
4643
+ var k = r.tsTryParseIndexSignature(f);
4644
+ if (k) return f.abstract && r.raise(f.start, A.IndexSignatureHasAbstract), f.accessibility && r.raise(f.start, A.IndexSignatureHasAccessibility({ modifier: f.accessibility })), f.declare && r.raise(f.start, A.IndexSignatureHasDeclare), f.override && r.raise(f.start, A.IndexSignatureHasOverride), k;
4645
+ if (!r.inAbstractClass && f.abstract && r.raise(f.start, A.NonAbstractClassHasAbstractMethod), f.override && i && r.raise(f.start, A.OverrideNotInSubClass), f.static = n, n && (r.isClassElementNameStart() || r.type === h.star || (m = "static")), !m && c >= 8 && r.eatContextual("async") && (!r.isClassElementNameStart() && r.type !== h.star || r.canInsertSemicolon() ? m = "async" : x = !0), !m && (c >= 9 || !x) && r.eat(h.star) && (y = !0), !m && !x && !y) {
4646
4646
  var U = r.value;
4647
4647
  (r.eatContextual("get") || r.eatContextual("set")) && (r.isClassElementNameStart() ? b = U : m = U);
4648
4648
  }
4649
- if (m ? (l.computed = !1, l.key = r.startNodeAt(r.lastTokStart, r.lastTokStartLoc), l.key.name = m, r.finishNode(l.key, "Identifier")) : r.parseClassElementName(l), r.parsePostMemberNameModifiers(l), r.isClassMethod() || c < 13 || r.type === h.parenL || b !== "method" || y || x) {
4650
- var j = !l.static && Ze(l, "constructor"), q = j && i;
4651
- j && b !== "method" && r.raise(l.key.start, "Constructor can't have get/set modifier"), l.kind = j ? "constructor" : b, r.parseClassMethod(l, y, x, q);
4652
- } else r.parseClassField(l);
4653
- return l;
4649
+ if (m ? (f.computed = !1, f.key = r.startNodeAt(r.lastTokStart, r.lastTokStartLoc), f.key.name = m, r.finishNode(f.key, "Identifier")) : r.parseClassElementName(f), r.parsePostMemberNameModifiers(f), r.isClassMethod() || c < 13 || r.type === h.parenL || b !== "method" || y || x) {
4650
+ var j = !f.static && Ze(f, "constructor"), q = j && i;
4651
+ j && b !== "method" && r.raise(f.key.start, "Constructor can't have get/set modifier"), f.kind = j ? "constructor" : b, r.parseClassMethod(f, y, x, q);
4652
+ } else r.parseClassField(f);
4653
+ return f;
4654
4654
  }
4655
- if (r.next(), r.next(), r.tsHasSomeModifiers(l, T) && r.raise(r.start, A.StaticBlockCannotHaveModifier), c >= 13) return S.prototype.parseClassStaticBlock.call(r, l), l;
4655
+ if (r.next(), r.next(), r.tsHasSomeModifiers(f, T) && r.raise(r.start, A.StaticBlockCannotHaveModifier), c >= 13) return S.prototype.parseClassStaticBlock.call(r, f), f;
4656
4656
  };
4657
- return l.declare ? this.tsInAmbientContext(L) : L(), l;
4657
+ return f.declare ? this.tsInAmbientContext(L) : L(), f;
4658
4658
  }, p.isClassElementNameStart = function() {
4659
4659
  return !!this.tsIsIdentifier() || S.prototype.isClassElementNameStart.call(this);
4660
4660
  }, p.parseClassSuper = function(i) {
@@ -4668,17 +4668,17 @@ function sr(t) {
4668
4668
  n && (i.id.typeAnnotation = n, this.resetEndLocation(i.id));
4669
4669
  }, p.parseArrowExpression = function(i, r, n, c) {
4670
4670
  this.match(h.colon) && (i.returnType = this.tsParseTypeAnnotation());
4671
- var l = this.yieldPos, m = this.awaitPos, y = this.awaitIdentPos;
4671
+ var f = this.yieldPos, m = this.awaitPos, y = this.awaitIdentPos;
4672
4672
  this.enterScope(16 | Se(n, !1)), this.initFunction(i);
4673
4673
  var x = this.maybeInArrowParameters;
4674
- return this.options.ecmaVersion >= 8 && (i.async = !!n), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.maybeInArrowParameters = !0, i.params = this.toAssignableList(r, !0), this.maybeInArrowParameters = !1, this.parseFunctionBody(i, !0, !1, c), this.yieldPos = l, this.awaitPos = m, this.awaitIdentPos = y, this.maybeInArrowParameters = x, this.finishNode(i, "ArrowFunctionExpression");
4674
+ return this.options.ecmaVersion >= 8 && (i.async = !!n), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.maybeInArrowParameters = !0, i.params = this.toAssignableList(r, !0), this.maybeInArrowParameters = !1, this.parseFunctionBody(i, !0, !1, c), this.yieldPos = f, this.awaitPos = m, this.awaitIdentPos = y, this.maybeInArrowParameters = x, this.finishNode(i, "ArrowFunctionExpression");
4675
4675
  }, p.parseMaybeAssignOrigin = function(i, r, n) {
4676
4676
  if (this.isContextual("yield")) {
4677
4677
  if (this.inGenerator) return this.parseYield(i);
4678
4678
  this.exprAllowed = !1;
4679
4679
  }
4680
- var c = !1, l = -1, m = -1, y = -1;
4681
- r ? (l = r.parenthesizedAssign, m = r.trailingComma, y = r.doubleProto, r.parenthesizedAssign = r.trailingComma = -1) : (r = new jt(), c = !0);
4680
+ var c = !1, f = -1, m = -1, y = -1;
4681
+ r ? (f = r.parenthesizedAssign, m = r.trailingComma, y = r.doubleProto, r.parenthesizedAssign = r.trailingComma = -1) : (r = new jt(), c = !0);
4682
4682
  var x = this.start, b = this.startLoc;
4683
4683
  (this.type === h.parenL || V(this.type)) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = i === "await");
4684
4684
  var T = this.parseMaybeConditional(i, r);
@@ -4686,15 +4686,15 @@ function sr(t) {
4686
4686
  var E = this.startNodeAt(x, b);
4687
4687
  return E.operator = this.value, this.type === h.eq && (T = this.toAssignable(T, !0, r)), c || (r.parenthesizedAssign = r.trailingComma = r.doubleProto = -1), r.shorthandAssign >= T.start && (r.shorthandAssign = -1), this.type === h.eq ? this.checkLValPattern(T) : this.checkLValSimple(T), E.left = T, this.next(), E.right = this.parseMaybeAssign(i), y > -1 && (r.doubleProto = y), this.finishNode(E, "AssignmentExpression");
4688
4688
  }
4689
- return c && this.checkExpressionErrors(r, !0), l > -1 && (r.parenthesizedAssign = l), m > -1 && (r.trailingComma = m), T;
4689
+ return c && this.checkExpressionErrors(r, !0), f > -1 && (r.parenthesizedAssign = f), m > -1 && (r.trailingComma = m), T;
4690
4690
  }, p.parseMaybeAssign = function(i, r, n) {
4691
- var c, l, m, y, x, b, T, E, L, k, U, j = this;
4691
+ var c, f, m, y, x, b, T, E, L, k, U, j = this;
4692
4692
  if (this.matchJsx("jsxTagStart") || this.tsMatchLeftRelational()) {
4693
4693
  if (E = this.cloneCurLookaheadState(), !(L = this.tryParse(function() {
4694
4694
  return j.parseMaybeAssignOrigin(i, r, n);
4695
4695
  }, E)).error) return L.node;
4696
- var q = this.context, K = q[q.length - 1];
4697
- K === g.tokContexts.tc_oTag && q[q.length - 2] === g.tokContexts.tc_expr ? (q.pop(), q.pop()) : K !== g.tokContexts.tc_oTag && K !== g.tokContexts.tc_expr || q.pop();
4696
+ var q = this.context, G = q[q.length - 1];
4697
+ G === g.tokContexts.tc_oTag && q[q.length - 2] === g.tokContexts.tc_expr ? (q.pop(), q.pop()) : G !== g.tokContexts.tc_oTag && G !== g.tokContexts.tc_expr || q.pop();
4698
4698
  }
4699
4699
  if (!((c = L) != null && c.error || this.tsMatchLeftRelational())) return this.parseMaybeAssignOrigin(i, r, n);
4700
4700
  E && !this.compareLookaheadState(E, this.getCurLookaheadState()) || (E = this.cloneCurLookaheadState());
@@ -4708,22 +4708,22 @@ function sr(t) {
4708
4708
  if (!L && (ti(!0), !(k = this.tryParse(function() {
4709
4709
  return j.parseMaybeAssignOrigin(i, r, n);
4710
4710
  }, E)).error)) return k.node;
4711
- if ((l = L) != null && l.node) return this.setLookaheadState(L.failState), L.node;
4711
+ if ((f = L) != null && f.node) return this.setLookaheadState(L.failState), L.node;
4712
4712
  if (it.node) return this.setLookaheadState(it.failState), U && this.reportReservedArrowTypeParam(U), it.node;
4713
4713
  if ((m = k) != null && m.node) return this.setLookaheadState(k.failState), k.node;
4714
4714
  throw (y = L) != null && y.thrown ? L.error : it.thrown ? it.error : (x = k) != null && x.thrown ? k.error : ((b = L) == null ? void 0 : b.error) || it.error || ((T = k) == null ? void 0 : T.error);
4715
4715
  }, p.parseAssignableListItem = function(i) {
4716
4716
  for (var r = []; this.match(I.at); ) r.push(this.parseDecorator());
4717
- var n, c = this.start, l = this.startLoc, m = !1, y = !1;
4717
+ var n, c = this.start, f = this.startLoc, m = !1, y = !1;
4718
4718
  if (i !== void 0) {
4719
4719
  var x = {};
4720
- this.tsParseModifiers({ modified: x, allowedModifiers: ["public", "private", "protected", "override", "readonly"] }), n = x.accessibility, y = x.override, m = x.readonly, i === !1 && (n || m || y) && this.raise(l.start, A.UnexpectedParameterModifier);
4720
+ this.tsParseModifiers({ modified: x, allowedModifiers: ["public", "private", "protected", "override", "readonly"] }), n = x.accessibility, y = x.override, m = x.readonly, i === !1 && (n || m || y) && this.raise(f.start, A.UnexpectedParameterModifier);
4721
4721
  }
4722
- var b = this.parseMaybeDefault(c, l);
4722
+ var b = this.parseMaybeDefault(c, f);
4723
4723
  this.parseBindingListItem(b);
4724
4724
  var T = this.parseMaybeDefault(b.start, b.loc, b);
4725
4725
  if (r.length && (T.decorators = r), n || m || y) {
4726
- var E = this.startNodeAt(c, l);
4726
+ var E = this.startNodeAt(c, f);
4727
4727
  return n && (E.accessibility = n), m && (E.readonly = m), y && (E.override = y), T.type !== "Identifier" && T.type !== "AssignmentPattern" && this.raise(E.start, A.UnsupportedParameterPropertyKind), E.parameter = T, this.finishNode(E, "TSParameterProperty");
4728
4728
  }
4729
4729
  return T;
@@ -4747,8 +4747,8 @@ function sr(t) {
4747
4747
  return !0;
4748
4748
  case "ObjectExpression":
4749
4749
  var c = i.properties.length - 1;
4750
- return i.properties.every(function(l, m) {
4751
- return l.type !== "ObjectMethod" && (m === c || l.type !== "SpreadElement") && n.isAssignable(l);
4750
+ return i.properties.every(function(f, m) {
4751
+ return f.type !== "ObjectMethod" && (m === c || f.type !== "SpreadElement") && n.isAssignable(f);
4752
4752
  });
4753
4753
  case "Property":
4754
4754
  case "ObjectProperty":
@@ -4756,8 +4756,8 @@ function sr(t) {
4756
4756
  case "SpreadElement":
4757
4757
  return this.isAssignable(i.argument);
4758
4758
  case "ArrayExpression":
4759
- return i.elements.every(function(l) {
4760
- return l === null || n.isAssignable(l);
4759
+ return i.elements.every(function(f) {
4760
+ return f === null || n.isAssignable(f);
4761
4761
  });
4762
4762
  case "AssignmentExpression":
4763
4763
  return i.operator === "=";
@@ -4813,13 +4813,13 @@ function sr(t) {
4813
4813
  return this.type === h._this ? this.parseIdent(!0) : S.prototype.parseBindingAtom.call(this);
4814
4814
  }, p.shouldParseArrow = function(i) {
4815
4815
  var r, n = this;
4816
- if (r = this.match(h.colon) ? i.every(function(l) {
4817
- return n.isAssignable(l, !0);
4816
+ if (r = this.match(h.colon) ? i.every(function(f) {
4817
+ return n.isAssignable(f, !0);
4818
4818
  }) : !this.canInsertSemicolon()) {
4819
4819
  if (this.match(h.colon)) {
4820
- var c = this.tryParse(function(l) {
4820
+ var c = this.tryParse(function(f) {
4821
4821
  var m = n.tsParseTypeOrTypePredicateAnnotation(h.colon);
4822
- return !n.canInsertSemicolon() && n.match(h.arrow) || l(), m;
4822
+ return !n.canInsertSemicolon() && n.match(h.arrow) || f(), m;
4823
4823
  });
4824
4824
  if (c.aborted) return this.shouldParseArrowReturnType = void 0, !1;
4825
4825
  c.thrown || (c.error && this.setLookaheadState(c.failState), this.shouldParseArrowReturnType = c.node);
@@ -4828,10 +4828,10 @@ function sr(t) {
4828
4828
  }
4829
4829
  return this.shouldParseArrowReturnType = void 0, r;
4830
4830
  }, p.parseParenArrowList = function(i, r, n, c) {
4831
- var l = this.startNodeAt(i, r);
4832
- return l.returnType = this.shouldParseArrowReturnType, this.shouldParseArrowReturnType = void 0, this.parseArrowExpression(l, n, !1, c);
4831
+ var f = this.startNodeAt(i, r);
4832
+ return f.returnType = this.shouldParseArrowReturnType, this.shouldParseArrowReturnType = void 0, this.parseArrowExpression(f, n, !1, c);
4833
4833
  }, p.parseParenAndDistinguishExpression = function(i, r) {
4834
- var n, c = this.start, l = this.startLoc, m = this.options.ecmaVersion >= 8;
4834
+ var n, c = this.start, f = this.startLoc, m = this.options.ecmaVersion >= 8;
4835
4835
  if (this.options.ecmaVersion >= 6) {
4836
4836
  var y = this.maybeInArrowParameters;
4837
4837
  this.maybeInArrowParameters = !0, this.next();
@@ -4847,18 +4847,18 @@ function sr(t) {
4847
4847
  }
4848
4848
  E.push(this.parseMaybeAssign(r, U, this.parseParenItem));
4849
4849
  }
4850
- var K = this.lastTokEnd, it = this.lastTokEndLoc;
4851
- if (this.expect(h.parenR), this.maybeInArrowParameters = y, i && this.shouldParseArrow(E) && this.eat(h.arrow)) return this.checkPatternErrors(U, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = j, this.awaitPos = q, this.parseParenArrowList(c, l, E, r);
4852
- E.length && !k || this.unexpected(this.lastTokStart), x && this.unexpected(x), this.checkExpressionErrors(U, !0), this.yieldPos = j || this.yieldPos, this.awaitPos = q || this.awaitPos, E.length > 1 ? ((n = this.startNodeAt(b, T)).expressions = E, this.finishNodeAt(n, "SequenceExpression", K, it)) : n = E[0];
4850
+ var G = this.lastTokEnd, it = this.lastTokEndLoc;
4851
+ if (this.expect(h.parenR), this.maybeInArrowParameters = y, i && this.shouldParseArrow(E) && this.eat(h.arrow)) return this.checkPatternErrors(U, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = j, this.awaitPos = q, this.parseParenArrowList(c, f, E, r);
4852
+ E.length && !k || this.unexpected(this.lastTokStart), x && this.unexpected(x), this.checkExpressionErrors(U, !0), this.yieldPos = j || this.yieldPos, this.awaitPos = q || this.awaitPos, E.length > 1 ? ((n = this.startNodeAt(b, T)).expressions = E, this.finishNodeAt(n, "SequenceExpression", G, it)) : n = E[0];
4853
4853
  } else n = this.parseParenExpression();
4854
4854
  if (this.options.preserveParens) {
4855
- var Pt = this.startNodeAt(c, l);
4855
+ var Pt = this.startNodeAt(c, f);
4856
4856
  return Pt.expression = n, this.finishNode(Pt, "ParenthesizedExpression");
4857
4857
  }
4858
4858
  return n;
4859
4859
  }, p.parseTaggedTemplateExpression = function(i, r, n, c) {
4860
- var l = this.startNodeAt(r, n);
4861
- return l.tag = i, l.quasi = this.parseTemplate({ isTagged: !0 }), c && this.raise(r, "Tagged Template Literals are not allowed in optionalChain."), this.finishNode(l, "TaggedTemplateExpression");
4860
+ var f = this.startNodeAt(r, n);
4861
+ return f.tag = i, f.quasi = this.parseTemplate({ isTagged: !0 }), c && this.raise(r, "Tagged Template Literals are not allowed in optionalChain."), this.finishNode(f, "TaggedTemplateExpression");
4862
4862
  }, p.shouldParseAsyncArrow = function() {
4863
4863
  var i = this;
4864
4864
  if (!this.match(h.colon)) return !this.canInsertSemicolon() && this.eat(h.arrow);
@@ -4868,17 +4868,17 @@ function sr(t) {
4868
4868
  });
4869
4869
  return r.aborted ? (this.shouldParseAsyncArrowReturnType = void 0, !1) : r.thrown ? void 0 : (r.error && this.setLookaheadState(r.failState), this.shouldParseAsyncArrowReturnType = r.node, !this.canInsertSemicolon() && this.eat(h.arrow));
4870
4870
  }, p.parseSubscriptAsyncArrow = function(i, r, n, c) {
4871
- var l = this.startNodeAt(i, r);
4872
- return l.returnType = this.shouldParseAsyncArrowReturnType, this.shouldParseAsyncArrowReturnType = void 0, this.parseArrowExpression(l, n, !0, c);
4871
+ var f = this.startNodeAt(i, r);
4872
+ return f.returnType = this.shouldParseAsyncArrowReturnType, this.shouldParseAsyncArrowReturnType = void 0, this.parseArrowExpression(f, n, !0, c);
4873
4873
  }, p.parseExprList = function(i, r, n, c) {
4874
- for (var l = [], m = !0; !this.eat(i); ) {
4874
+ for (var f = [], m = !0; !this.eat(i); ) {
4875
4875
  if (m) m = !1;
4876
4876
  else if (this.expect(h.comma), r && this.afterTrailingComma(i)) break;
4877
4877
  var y = void 0;
4878
- n && this.type === h.comma ? y = null : this.type === h.ellipsis ? (y = this.parseSpread(c), c && this.type === h.comma && c.trailingComma < 0 && (c.trailingComma = this.start)) : y = this.parseMaybeAssign(!1, c, this.parseParenItem), l.push(y);
4878
+ n && this.type === h.comma ? y = null : this.type === h.ellipsis ? (y = this.parseSpread(c), c && this.type === h.comma && c.trailingComma < 0 && (c.trailingComma = this.start)) : y = this.parseMaybeAssign(!1, c, this.parseParenItem), f.push(y);
4879
4879
  }
4880
- return l;
4881
- }, p.parseSubscript = function(i, r, n, c, l, m, y) {
4880
+ return f;
4881
+ }, p.parseSubscript = function(i, r, n, c, f, m, y) {
4882
4882
  var x = this, b = m;
4883
4883
  if (!this.hasPrecedingLineBreak() && this.value === "!" && this.match(h.prefix)) {
4884
4884
  this.exprAllowed = !1, this.next();
@@ -4919,15 +4919,15 @@ function sr(t) {
4919
4919
  c && j && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
4920
4920
  var q = this.eat(h.bracketL);
4921
4921
  if (q || j && this.type !== h.parenL && this.type !== h.backQuote || this.eat(h.dot)) {
4922
- var K = this.startNodeAt(r, n);
4923
- K.object = i, q ? (K.property = this.parseExpression(), this.expect(h.bracketR)) : K.property = this.type === h.privateId && i.type !== "Super" ? this.parsePrivateIdent() : this.parseIdent(this.options.allowReserved !== "never"), K.computed = !!q, U && (K.optional = j), i = this.finishNode(K, "MemberExpression");
4922
+ var G = this.startNodeAt(r, n);
4923
+ G.object = i, q ? (G.property = this.parseExpression(), this.expect(h.bracketR)) : G.property = this.type === h.privateId && i.type !== "Super" ? this.parsePrivateIdent() : this.parseIdent(this.options.allowReserved !== "never"), G.computed = !!q, U && (G.optional = j), i = this.finishNode(G, "MemberExpression");
4924
4924
  } else if (!c && this.eat(h.parenL)) {
4925
4925
  var it = this.maybeInArrowParameters;
4926
4926
  this.maybeInArrowParameters = !0;
4927
4927
  var Pt = new jt(), Vt = this.yieldPos, Ft = this.awaitPos, Ct = this.awaitIdentPos;
4928
4928
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
4929
4929
  var Be = this.parseExprList(h.parenR, this.options.ecmaVersion >= 8, !1, Pt);
4930
- if (l && !j && this.shouldParseAsyncArrow()) this.checkPatternErrors(Pt, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = Vt, this.awaitPos = Ft, this.awaitIdentPos = Ct, i = this.parseSubscriptAsyncArrow(r, n, Be, y);
4930
+ if (f && !j && this.shouldParseAsyncArrow()) this.checkPatternErrors(Pt, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = Vt, this.awaitPos = Ft, this.awaitIdentPos = Ct, i = this.parseSubscriptAsyncArrow(r, n, Be, y);
4931
4931
  else {
4932
4932
  this.checkExpressionErrors(Pt, !0), this.yieldPos = Vt || this.yieldPos, this.awaitPos = Ft || this.awaitPos, this.awaitIdentPos = Ct || this.awaitIdentPos;
4933
4933
  var Qt = this.startNodeAt(r, n);
@@ -4964,13 +4964,13 @@ function sr(t) {
4964
4964
  this.next(), this.takeDecorators(i);
4965
4965
  var c = this.strict;
4966
4966
  this.strict = !0, this.parseClassId(i, r), this.parseClassSuper(i);
4967
- var l = this.enterClassBody(), m = this.startNode(), y = !1;
4967
+ var f = this.enterClassBody(), m = this.startNode(), y = !1;
4968
4968
  m.body = [];
4969
4969
  var x = [];
4970
4970
  for (this.expect(h.braceL); this.type !== h.braceR; ) if (this.match(I.at)) x.push(this.parseDecorator());
4971
4971
  else {
4972
4972
  var b = this.parseClassElement(i.superClass !== null);
4973
- x.length && (b.decorators = x, this.resetStartLocationFromNode(b, x[0]), x = []), b && (m.body.push(b), b.type === "MethodDefinition" && b.kind === "constructor" && b.value.type === "FunctionExpression" ? (y && this.raiseRecoverable(b.start, "Duplicate constructor in the same class"), y = !0, b.decorators && b.decorators.length > 0 && this.raise(b.start, "Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?")) : b.key && b.key.type === "PrivateIdentifier" && Qs(l, b) && this.raiseRecoverable(b.key.start, "Identifier '#" + b.key.name + "' has already been declared"));
4973
+ x.length && (b.decorators = x, this.resetStartLocationFromNode(b, x[0]), x = []), b && (m.body.push(b), b.type === "MethodDefinition" && b.kind === "constructor" && b.value.type === "FunctionExpression" ? (y && this.raiseRecoverable(b.start, "Duplicate constructor in the same class"), y = !0, b.decorators && b.decorators.length > 0 && this.raise(b.start, "Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?")) : b.key && b.key.type === "PrivateIdentifier" && Js(f, b) && this.raiseRecoverable(b.key.start, "Identifier '#" + b.key.name + "' has already been declared"));
4974
4974
  }
4975
4975
  return this.strict = c, this.next(), x.length && this.raise(this.start, "Decorators must be attached to a class element."), i.body = this.finishNode(m, "ClassBody"), this.exitClassBody(), this.finishNode(i, r ? "ClassDeclaration" : "ClassExpression");
4976
4976
  } finally {
@@ -4979,11 +4979,11 @@ function sr(t) {
4979
4979
  }, p.parseClassFunctionParams = function() {
4980
4980
  var i = this.tsTryParseTypeParameters(this.tsParseConstModifier), r = this.parseBindingList(h.parenR, !1, this.options.ecmaVersion >= 8, !0);
4981
4981
  return i && (r.typeParameters = i), r;
4982
- }, p.parseMethod = function(i, r, n, c, l) {
4982
+ }, p.parseMethod = function(i, r, n, c, f) {
4983
4983
  var m = this.startNode(), y = this.yieldPos, x = this.awaitPos, b = this.awaitIdentPos;
4984
- if (this.initFunction(m), this.options.ecmaVersion >= 6 && (m.generator = i), this.options.ecmaVersion >= 8 && (m.async = !!r), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(64 | Se(r, m.generator) | (n ? 128 : 0)), this.expect(h.parenL), m.params = this.parseClassFunctionParams(), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(m, !1, !0, !1, { isClassMethod: c }), this.yieldPos = y, this.awaitPos = x, this.awaitIdentPos = b, l && l.abstract && m.body) {
4985
- var T = l.key;
4986
- this.raise(l.start, A.AbstractMethodHasImplementation({ methodName: T.type !== "Identifier" || l.computed ? "[" + this.input.slice(T.start, T.end) + "]" : T.name }));
4984
+ if (this.initFunction(m), this.options.ecmaVersion >= 6 && (m.generator = i), this.options.ecmaVersion >= 8 && (m.async = !!r), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(64 | Se(r, m.generator) | (n ? 128 : 0)), this.expect(h.parenL), m.params = this.parseClassFunctionParams(), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(m, !1, !0, !1, { isClassMethod: c }), this.yieldPos = y, this.awaitPos = x, this.awaitIdentPos = b, f && f.abstract && m.body) {
4985
+ var T = f.key;
4986
+ this.raise(f.start, A.AbstractMethodHasImplementation({ methodName: T.type !== "Identifier" || f.computed ? "[" + this.input.slice(T.start, T.end) + "]" : T.name }));
4987
4987
  }
4988
4988
  return this.finishNode(m, "FunctionExpression");
4989
4989
  }, Z.parse = function(i, r) {
@@ -5012,7 +5012,7 @@ function sr(t) {
5012
5012
  var c = S.prototype.parseExportSpecifier.call(this, i);
5013
5013
  return c.exportKind = "value", c;
5014
5014
  }, p.parseTypeOnlyImportExportSpecifier = function(i, r, n) {
5015
- var c, l = r ? "imported" : "local", m = r ? "local" : "exported", y = i[l], x = !1, b = !0, T = y.start;
5015
+ var c, f = r ? "imported" : "local", m = r ? "local" : "exported", y = i[f], x = !1, b = !0, T = y.start;
5016
5016
  if (this.isContextual("as")) {
5017
5017
  var E = this.parseIdent();
5018
5018
  if (this.isContextual("as")) {
@@ -5020,7 +5020,7 @@ function sr(t) {
5020
5020
  Xt(this.type) ? (x = !0, y = E, c = r ? this.parseIdent() : this.parseModuleExportName(), b = !1) : (c = L, b = !1);
5021
5021
  } else Xt(this.type) ? (b = !1, c = r ? this.parseIdent() : this.parseModuleExportName()) : (x = !0, y = E);
5022
5022
  } else Xt(this.type) && (x = !0, r ? (y = S.prototype.parseIdent.call(this, !0), this.isContextual("as") || this.checkUnreserved(y)) : y = this.parseModuleExportName());
5023
- x && n && this.raise(T, r ? A.TypeModifierIsUsedInTypeImports : A.TypeModifierIsUsedInTypeExports), i[l] = y, i[m] = c, i[r ? "importKind" : "exportKind"] = x ? "type" : "value", b && this.eatContextual("as") && (i[m] = r ? this.parseIdent() : this.parseModuleExportName()), i[m] || (i[m] = this.copyNode(i[l])), r && this.checkLValSimple(i[m], 2);
5023
+ x && n && this.raise(T, r ? A.TypeModifierIsUsedInTypeImports : A.TypeModifierIsUsedInTypeExports), i[f] = y, i[m] = c, i[r ? "importKind" : "exportKind"] = x ? "type" : "value", b && this.eatContextual("as") && (i[m] = r ? this.parseIdent() : this.parseModuleExportName()), i[m] || (i[m] = this.copyNode(i[f])), r && this.checkLValSimple(i[m], 2);
5024
5024
  }, p.raiseCommonCheck = function(i, r, n) {
5025
5025
  return r === "Comma is not permitted after the rest element" ? this.isAmbientContext && this.match(h.comma) && this.lookaheadCharCode() === 41 ? void this.next() : S.prototype.raise.call(this, i, r) : n ? S.prototype.raiseRecoverable.call(this, i, r) : S.prototype.raise.call(this, i, r);
5026
5026
  }, p.raiseRecoverable = function(i, r) {
@@ -5037,15 +5037,15 @@ function sr(t) {
5037
5037
  this.context.length -= 2, this.context.push(Y.tc_cTag), this.exprAllowed = !1;
5038
5038
  }
5039
5039
  }, p.jsx_parseOpeningElementAt = function(i, r) {
5040
- var n = this, c = this.startNodeAt(i, r), l = this.jsx_parseElementName();
5041
- if (l && (c.name = l), this.match(h.relational) || this.match(h.bitShift)) {
5040
+ var n = this, c = this.startNodeAt(i, r), f = this.jsx_parseElementName();
5041
+ if (f && (c.name = f), this.match(h.relational) || this.match(h.bitShift)) {
5042
5042
  var m = this.tsTryParseAndCatch(function() {
5043
5043
  return n.tsParseTypeArgumentsInExpression();
5044
5044
  });
5045
5045
  m && (c.typeParameters = m);
5046
5046
  }
5047
5047
  for (c.attributes = []; this.type !== h.slash && this.type !== I.jsxTagEnd; ) c.attributes.push(this.jsx_parseAttribute());
5048
- return c.selfClosing = this.eat(h.slash), this.expect(I.jsxTagEnd), this.finishNode(c, l ? "JSXOpeningElement" : "JSXOpeningFragment");
5048
+ return c.selfClosing = this.eat(h.slash), this.expect(I.jsxTagEnd), this.finishNode(c, f ? "JSXOpeningElement" : "JSXOpeningFragment");
5049
5049
  }, p.enterScope = function(i) {
5050
5050
  i === Bt && this.importsStack.push([]), S.prototype.enterScope.call(this, i);
5051
5051
  var r = S.prototype.currentScope.call(this);
@@ -5088,8 +5088,8 @@ function sr(t) {
5088
5088
  return zi;
5089
5089
  };
5090
5090
  }
5091
- const rr = es(is);
5092
- async function ar(t) {
5091
+ const ar = is(ss);
5092
+ async function nr(t) {
5093
5093
  let e;
5094
5094
  try {
5095
5095
  e = await at.readdir(t, { withFileTypes: !0 });
@@ -5109,26 +5109,26 @@ async function ar(t) {
5109
5109
  );
5110
5110
  }
5111
5111
  function De(t) {
5112
- const s = H.extend(sr()).parse(t, {
5112
+ const s = H.extend(rr()).parse(t, {
5113
5113
  ecmaVersion: "latest",
5114
5114
  sourceType: "module",
5115
5115
  locations: !0
5116
5116
  }), a = [];
5117
5117
  return Ae(s, (o) => {
5118
5118
  if (o.type !== "MethodDefinition") return;
5119
- const f = o, d = f.key;
5119
+ const l = o, d = l.key;
5120
5120
  if (d.type !== "Identifier") return;
5121
5121
  const v = d.name;
5122
- v && v !== "constructor" && f.accessibility !== "private" && a.push(v);
5122
+ console.log(1111, v, l), v && v !== "constructor" && l.accessibility !== "private" && a.push(v);
5123
5123
  }), a;
5124
5124
  }
5125
5125
  async function ct(t, e, s = [], a) {
5126
5126
  const o = `${e} ${s.join(" ")}`;
5127
- t !== void 0 && W(`${t} - exec(${o})`);
5128
- const { stdout: f, stderr: d } = await rr(o);
5129
- a === void 0 ? f.trim() && console.log(f.trim()) : await at.writeFile(a, f.trim(), "utf8"), d.trim() && console.error(d.trim());
5127
+ t !== void 0 && K(`${t} - exec(${o})`);
5128
+ const { stdout: l, stderr: d } = await ar(o);
5129
+ a === void 0 ? l.trim() && console.log(l.trim()) : await at.writeFile(a, l.trim(), "utf8"), d.trim() && console.error(d.trim());
5130
5130
  }
5131
- async function nr(t, e) {
5131
+ async function or(t, e) {
5132
5132
  return at.readdir(t, e);
5133
5133
  }
5134
5134
  async function Ve() {
@@ -5143,7 +5143,7 @@ function St(t) {
5143
5143
  ✅ ${t}
5144
5144
  `);
5145
5145
  }
5146
- function W(t) {
5146
+ function K(t) {
5147
5147
  console.info(`
5148
5148
  ${t}
5149
5149
  `);
@@ -5154,7 +5154,7 @@ async function et(t) {
5154
5154
  async function At(t) {
5155
5155
  return await at.readFile(t, "utf8");
5156
5156
  }
5157
- async function or(t) {
5157
+ async function hr(t) {
5158
5158
  try {
5159
5159
  await at.unlink(t);
5160
5160
  } catch (e) {
@@ -5162,18 +5162,18 @@ async function or(t) {
5162
5162
  }
5163
5163
  }
5164
5164
  async function dt(t, e, s = [], a = !1) {
5165
- return W(`${t} - spawn(${e} ${s.join(" ")})`), new Promise((o, f) => {
5166
- ss(e, s, { stdio: "inherit" }).on("close", (v) => {
5167
- v === 0 || a ? o() : f(new Error(`${e} exited with code ${v}`));
5165
+ return K(`${t} - spawn(${e} ${s.join(" ")})`), new Promise((o, l) => {
5166
+ rs(e, s, { stdio: "inherit" }).on("close", (v) => {
5167
+ v === 0 || a ? o() : l(new Error(`${e} exited with code ${v}`));
5168
5168
  });
5169
5169
  });
5170
5170
  }
5171
5171
  function Ui(t, e, s, a) {
5172
- const o = t.indexOf(s), f = t.indexOf(a);
5173
- if (o === -1 || f === -1) throw new Error(`Markers ${s}-${a} not found in content.`);
5172
+ const o = t.indexOf(s), l = t.indexOf(a);
5173
+ if (o === -1 || l === -1) throw new Error(`Markers ${s}-${a} not found in content.`);
5174
5174
  return `${t.slice(0, Math.max(0, o + s.length))}
5175
5175
  ${e}
5176
- ${t.slice(Math.max(0, f))}`;
5176
+ ${t.slice(Math.max(0, l))}`;
5177
5177
  }
5178
5178
  async function oe(t, e) {
5179
5179
  await at.writeFile(t, JSON.stringify(e, void 0, 4), "utf8");
@@ -5187,14 +5187,14 @@ function Ae(t, e) {
5187
5187
  if (["loc", "range", "start", "end", "comments"].includes(s)) continue;
5188
5188
  const o = a;
5189
5189
  if (Array.isArray(o))
5190
- for (const f of o) {
5191
- const d = f;
5190
+ for (const l of o) {
5191
+ const d = l;
5192
5192
  d && typeof d.type == "string" && Ae(d, e);
5193
5193
  }
5194
5194
  else o && typeof o == "object" && typeof o.type == "string" && Ae(o, e);
5195
5195
  }
5196
5196
  }
5197
- async function hr() {
5197
+ async function ur() {
5198
5198
  const t = await et("config.json"), e = {
5199
5199
  body: JSON.stringify(t),
5200
5200
  headers: { "Content-Type": "application/json" },
@@ -5212,10 +5212,10 @@ async function ii(t) {
5212
5212
  }
5213
5213
  async function si(t, e) {
5214
5214
  const s = `v${t.version}`;
5215
- async function a(o, f = "") {
5216
- const d = await nr(o, { withFileTypes: !0 });
5215
+ async function a(o, l = "") {
5216
+ const d = await or(o, { withFileTypes: !0 });
5217
5217
  for (const v of d) {
5218
- const g = `${o}/${v.name}`, h = f ? `${f}/${v.name}` : v.name;
5218
+ const g = `${o}/${v.name}`, h = l ? `${l}/${v.name}` : v.name;
5219
5219
  if (v.isDirectory()) continue;
5220
5220
  const P = `${e}_${s}/${h}`.replaceAll("\\", "/"), N = v.name.endsWith(".css") ? "text/css" : "application/octet-stream", B = v.name.endsWith(".js") ? "application/javascript" : N;
5221
5221
  console.info(`⚙️ Uploading '${h}' → '${P}'...`), await ct(void 0, `wrangler r2 object put "${P}" --file="${g}" --content-type ${B} --jurisdiction=eu --remote`);
@@ -5223,7 +5223,7 @@ async function si(t, e) {
5223
5223
  }
5224
5224
  await a("dist");
5225
5225
  }
5226
- const ur = [
5226
+ const cr = [
5227
5227
  { idPrefix: "datapos-app-nuxt", typeId: "app", publish: !1, uploadGroupName: void 0 },
5228
5228
  { idPrefix: "datapos-api", typeId: "api", publish: !1, uploadGroupName: void 0 },
5229
5229
  { idPrefix: "datapos-connector", typeId: "connector", publish: !0, uploadGroupName: "connectors" },
@@ -5235,42 +5235,42 @@ const ur = [
5235
5235
  { idPrefix: "datapos-shared", typeId: "shared", publish: !0, uploadGroupName: void 0 },
5236
5236
  { idPrefix: "datapos-tool", typeId: "tool", publish: !0, uploadGroupName: "tools" }
5237
5237
  ];
5238
- async function Or() {
5238
+ async function Rr() {
5239
5239
  try {
5240
5240
  xt("Build Project"), await dt("1️⃣ Bundle project", "vite", ["build"]), St("Project built.");
5241
5241
  } catch (t) {
5242
5242
  console.error("❌ Error building project.", t), process.exit(1);
5243
5243
  }
5244
5244
  }
5245
- async function Rr() {
5245
+ async function Mr() {
5246
5246
  try {
5247
5247
  xt("Release Project"), await Ve();
5248
5248
  const t = await et("package.json");
5249
5249
  let e = await et("config.json");
5250
5250
  await qi("1️⃣", t);
5251
- const s = ur.find((a) => e.id.startsWith(a.idPrefix));
5251
+ const s = cr.find((a) => e.id.startsWith(a.idPrefix));
5252
5252
  if (!s) throw new Error(`Failed to locate module type configuration for identifier '${e.id}'.`);
5253
5253
  switch (s.typeId) {
5254
5254
  case "connector":
5255
- e = await pr("2️⃣", t);
5255
+ e = await lr("2️⃣", t);
5256
5256
  break;
5257
5257
  case "context":
5258
- e = await lr("2️⃣", t);
5258
+ e = await fr("2️⃣", t);
5259
5259
  break;
5260
5260
  case "presenter":
5261
- e = await fr("2️⃣", t);
5261
+ e = await dr("2️⃣", t);
5262
5262
  break;
5263
5263
  default:
5264
- e = await cr("2️⃣", t);
5264
+ e = await pr("2️⃣", t);
5265
5265
  }
5266
5266
  if (await dt("3️⃣ Bundle project", "vite", ["build"]), await ct("4️⃣ Stage changes", "git", ["add", "."]), await ct("5️⃣ Commit changes", "git", ["commit", "-m", `"v${t.version}"`]), await ct("6️⃣ Push changes", "git", ["push", "origin", "main:main"]), s.typeId === "app")
5267
- W("7️⃣ Register module"), await hr();
5267
+ K("7️⃣ Register module"), await ur();
5268
5268
  else if (s.typeId === "engine")
5269
- W("7️⃣ Register module"), await si(t, `datapos-engine-eu/${s.uploadGroupName}`), await ii(e);
5269
+ K("7️⃣ Register module"), await si(t, `datapos-engine-eu/${s.uploadGroupName}`), await ii(e);
5270
5270
  else if (s.uploadGroupName === void 0)
5271
- W("7️⃣ Registration NOT required.");
5271
+ K("7️⃣ Registration NOT required.");
5272
5272
  else {
5273
- W("7️⃣ Register module");
5273
+ K("7️⃣ Register module");
5274
5274
  const a = e.id.split("-").slice(2).join("-");
5275
5275
  await si(t, `datapos-engine-eu/${s.uploadGroupName}/${a}`), await ii(e);
5276
5276
  }
@@ -5280,25 +5280,25 @@ async function Rr() {
5280
5280
  await $t(a, `registry=https://registry.npmjs.org/
5281
5281
  //registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN ?? ""}`), await dt("8️⃣ Publish to npm", "npm", ["publish", "--access", "public"]);
5282
5282
  } finally {
5283
- await or(a);
5283
+ await hr(a);
5284
5284
  }
5285
5285
  } else
5286
- W(`8️⃣ Publishing NOT required for package with type identifier of '${s.typeId}'.`);
5286
+ K(`8️⃣ Publishing NOT required for package with type identifier of '${s.typeId}'.`);
5287
5287
  St(`Project version '${t.version}' released.`);
5288
5288
  } catch (t) {
5289
5289
  console.error("❌ Error releasing project.", t), process.exit(1);
5290
5290
  }
5291
5291
  }
5292
- async function Mr() {
5292
+ async function Dr() {
5293
5293
  try {
5294
5294
  xt("Synchronise Project with GitHub");
5295
5295
  const t = await et("package.json");
5296
- W("Bump project version"), await qi("1️⃣", t), await ct("2️⃣ Stage changes", "git", ["add", "."]), await ct("3️⃣ Commit changes", "git", ["commit", "-m", `"v${t.version}"`]), await ct("4️⃣ Push changes", "git", ["push", "origin", "main:main"]), St(`Project version '${t.version}' synchronised with GitHub.`);
5296
+ K("Bump project version"), await qi("1️⃣", t), await ct("2️⃣ Stage changes", "git", ["add", "."]), await ct("3️⃣ Commit changes", "git", ["commit", "-m", `"v${t.version}"`]), await ct("4️⃣ Push changes", "git", ["push", "origin", "main:main"]), St(`Project version '${t.version}' synchronised with GitHub.`);
5297
5297
  } catch (t) {
5298
5298
  console.error("❌ Error synchronising project with GitHub.", t), process.exit(1);
5299
5299
  }
5300
5300
  }
5301
- function Dr() {
5301
+ function Vr() {
5302
5302
  try {
5303
5303
  xt("Test Project"), console.error(`
5304
5304
  ❌ No tests implemented.
@@ -5307,61 +5307,61 @@ function Dr() {
5307
5307
  console.error("❌ Error testing project.", t), process.exit(1);
5308
5308
  }
5309
5309
  }
5310
- async function cr(t, e) {
5311
- W(`${t} Build project configuration`);
5310
+ async function pr(t, e) {
5311
+ K(`${t} Build project configuration`);
5312
5312
  const s = await et("config.json");
5313
5313
  return e.name != null && (s.id = e.name.replace("@datapos/", "").replace("@data-positioning/", "")), e.version != null && (s.version = e.version), await oe("config.json", s), s;
5314
5314
  }
5315
- async function pr(t, e) {
5316
- W(`${t} Build connector project configuration`);
5317
- const [s, a] = await Promise.all([et("config.json"), At("src/index.ts")]), o = /* @__PURE__ */ Ee(Ji, s);
5315
+ async function lr(t, e) {
5316
+ K(`${t} Build connector project configuration`);
5317
+ const [s, a] = await Promise.all([et("config.json"), At("src/index.ts")]), o = /* @__PURE__ */ Ee(Yi, s);
5318
5318
  if (!o.success)
5319
5319
  throw console.error("❌ Configuration is invalid:"), console.table(o.issues), new Error("Configuration is invalid.");
5320
- const f = De(a), d = dr(f);
5321
- return await Fe(e, s, f, d);
5320
+ const l = De(a), d = mr(l);
5321
+ return await Fe(e, s, l, d);
5322
5322
  }
5323
5323
  async function Fe(t, e, s, a) {
5324
5324
  return s.length > 0 ? (console.info(`ℹ️ Implements ${s.length} operations:`), console.table(s)) : console.warn("⚠️ Implements no operations."), a === "unknown" ? console.warn("⚠️ No usage identified.") : console.info(`ℹ️ Supports '${a}' usage.`), t.name != null && (e.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (e.version = t.version), e.operations = s, e.usageId = a, await oe("config.json", e), e;
5325
5325
  }
5326
- async function lr(t, e) {
5327
- W(`${t} Build context project configuration`);
5328
- const [s, a] = await Promise.all([et("config.json"), At("src/index.ts")]), o = /* @__PURE__ */ Ee(Qi, s);
5326
+ async function fr(t, e) {
5327
+ K(`${t} Build context project configuration`);
5328
+ const [s, a] = await Promise.all([et("config.json"), At("src/index.ts")]), o = /* @__PURE__ */ Ee(Ji, s);
5329
5329
  if (!o.success)
5330
5330
  throw console.error("❌ Configuration is invalid:"), console.table(o.issues), new Error("Configuration is invalid.");
5331
- const f = De(a);
5332
- return await Fe(e, s, f);
5331
+ const l = De(a);
5332
+ return await Fe(e, s, l);
5333
5333
  }
5334
- async function fr(t, e) {
5335
- W(`${t} Build presenter project configuration`);
5336
- const [s, a] = await Promise.all([et("config.json"), At("src/index.ts")]), o = /* @__PURE__ */ Ee(ts, s);
5334
+ async function dr(t, e) {
5335
+ K(`${t} Build presenter project configuration`);
5336
+ const [s, a] = await Promise.all([et("config.json"), At("src/index.ts")]), o = /* @__PURE__ */ Ee(es, s);
5337
5337
  if (!o.success)
5338
5338
  throw console.error("❌ Configuration is invalid:"), console.table(o.issues), new Error("Configuration is invalid.");
5339
- const f = De(a);
5340
- return await Fe(e, s, f);
5339
+ const l = De(a);
5340
+ return await Fe(e, s, l);
5341
5341
  }
5342
5342
  async function qi(t, e, s = "./") {
5343
- if (W(`${t} Bump project version`), e.version == null)
5343
+ if (K(`${t} Bump project version`), e.version == null)
5344
5344
  e.version = "0.0.001", console.warn(`⚠️ Project version initialised to '${e.version}'.`), await oe(`${s}package.json`, e);
5345
5345
  else {
5346
5346
  const a = e.version, o = e.version.split(".");
5347
5347
  e.version = `${o[0]}.${o[1]}.${Number(o[2]) + 1}`, console.info(`Project version bumped from '${a}' to '${e.version}'.`), await oe(`${s}package.json`, e);
5348
5348
  }
5349
5349
  }
5350
- function dr(t) {
5350
+ function mr(t) {
5351
5351
  let e = !1, s = !1;
5352
5352
  for (const a of t)
5353
- Yi.includes(a) && (e = !0), Zi.includes(a) && (s = !0);
5353
+ Zi.includes(a) && (e = !0), ts.includes(a) && (s = !0);
5354
5354
  return e && s ? "bidirectional" : e ? "source" : s ? "destination" : "unknown";
5355
5355
  }
5356
- const mr = {
5356
+ const yr = {
5357
5357
  critical: { color: "D32F2F", label: "critical" },
5358
5358
  high: { color: "EF6C00", label: "high" },
5359
5359
  moderate: { color: "FBC02D", label: "moderate" },
5360
5360
  low: { color: "6D8C31", label: "low" },
5361
5361
  unknown: { color: "616161", label: "unknown" }
5362
5362
  // See sample badges in ~/tests/sampleBadges.md. Also included 'info' colouring.
5363
- }, yr = "<!-- OWASP_BADGES_START -->", xr = "<!-- OWASP_BADGES_END -->";
5364
- async function Vr() {
5363
+ }, xr = "<!-- OWASP_BADGES_START -->", vr = "<!-- OWASP_BADGES_END -->";
5364
+ async function Fr() {
5365
5365
  try {
5366
5366
  xt("Audit Dependencies"), await Ve();
5367
5367
  const t = await et("package.json");
@@ -5374,13 +5374,13 @@ async function Vr() {
5374
5374
  "--nodePackageSkipDevDependencies",
5375
5375
  "--nvdApiKey",
5376
5376
  process.env.OWASP_NVD_API_KEY ?? ""
5377
- ]), await vr("2️⃣"), await dt("3️⃣ Check using 'npm audit'", "npm", ["audit"]), St("Dependencies audited.");
5377
+ ]), await gr("2️⃣"), await dt("3️⃣ Check using 'npm audit'", "npm", ["audit"]), St("Dependencies audited.");
5378
5378
  } catch (t) {
5379
5379
  console.error("❌ Error auditing dependencies.", t), process.exit(1);
5380
5380
  }
5381
5381
  }
5382
- async function vr(t) {
5383
- W(`${t} Insert OWASP Badge(s) into 'README.md'`);
5382
+ async function gr(t) {
5383
+ K(`${t} Insert OWASP Badge(s) into 'README.md'`);
5384
5384
  const e = await et("dependency-check-reports/dependency-check-report.json"), s = { critical: 0, high: 0, moderate: 0, low: 0, unknown: 0 };
5385
5385
  for (const d of e.dependencies)
5386
5386
  if (d.vulnerabilities != null)
@@ -5388,34 +5388,34 @@ async function vr(t) {
5388
5388
  const g = v.severity?.toLowerCase() ?? "unknown";
5389
5389
  g in s ? s[g]++ : s.unknown++;
5390
5390
  }
5391
- const a = await gr(s), o = await At("./README.md"), f = Ui(o, a.join(" "), yr, xr);
5392
- await $t("README.md", f), console.info("OWASP audit badge(s) inserted into 'README.md'");
5391
+ const a = await br(s), o = await At("./README.md"), l = Ui(o, a.join(" "), xr, vr);
5392
+ await $t("README.md", l), console.info("OWASP audit badge(s) inserted into 'README.md'");
5393
5393
  }
5394
- async function gr(t) {
5394
+ async function br(t) {
5395
5395
  const e = await et("config.json"), s = [];
5396
- if (Object.values(t).reduce((o, f) => o + f, 0) === 0)
5396
+ if (Object.values(t).reduce((o, l) => o + l, 0) === 0)
5397
5397
  console.info("No vulnerabilities found."), s.push(`[![OWASP](https://img.shields.io/badge/OWASP-passed-4CAF50)](https://data-positioning.github.io/${e.id}/dependency-check-reports/dependency-check-report.html)`);
5398
5398
  else
5399
- for (const [o, f] of Object.entries(t)) {
5400
- const d = mr[o];
5401
- if (console.warn(`⚠️ ${f} ${d.label} vulnerability(ies) found.`), f === 0) continue;
5402
- const v = `https://img.shields.io/badge/OWASP-${f}%20${d.label}-${d.color}`;
5399
+ for (const [o, l] of Object.entries(t)) {
5400
+ const d = yr[o];
5401
+ if (console.warn(`⚠️ ${l} ${d.label} vulnerability(ies) found.`), l === 0) continue;
5402
+ const v = `https://img.shields.io/badge/OWASP-${l}%20${d.label}-${d.color}`;
5403
5403
  s.push(`[![OWASP](${v})](https://data-positioning.github.io/${e.id}/dependency-check-reports/dependency-check-report.html)`);
5404
5404
  }
5405
5405
  return s;
5406
5406
  }
5407
- async function Fr() {
5407
+ async function Br() {
5408
5408
  try {
5409
5409
  xt("Check Dependencies"), await dt("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), await dt("2️⃣ Check using 'npm-check-updates'", "npm-check-updates", ["-i"]), St("Dependencies checked.");
5410
5410
  } catch (t) {
5411
5411
  console.error("❌ Error checking dependencies.", t), process.exit(1);
5412
5412
  }
5413
5413
  }
5414
- const br = "<!-- DEPENDENCY_LICENSES_START -->", Tr = "<!-- DEPENDENCY_LICENSES_END -->";
5415
- async function Br(t = [], e = !0) {
5414
+ const Tr = "<!-- DEPENDENCY_LICENSES_START -->", Sr = "<!-- DEPENDENCY_LICENSES_END -->";
5415
+ async function jr(t = [], e = !0) {
5416
5416
  try {
5417
5417
  xt("Document Dependencies"), await Ve();
5418
- const s = t.flatMap((o) => ["--allowed", `'${o}'`]), a = ri(new rs(import.meta.resolve("@datapos/datapos-development/license-report-config")));
5418
+ const s = t.flatMap((o) => ["--allowed", `'${o}'`]), a = ri(new as(import.meta.resolve("@datapos/datapos-development/license-report-config")));
5419
5419
  await ct(
5420
5420
  "1️⃣ Generate 'licenses.json' file",
5421
5421
  "license-report",
@@ -5426,7 +5426,7 @@ async function Br(t = [], e = !0) {
5426
5426
  "license-report-recursive",
5427
5427
  ["--only=prod,peer", "--output=tree", "--recurse", "--department.value=n/a", "--licensePeriod.value=n/a", "--material.value=n/a", "--relatedTo.value=n/a"],
5428
5428
  "licenses/licenseTree.json"
5429
- ), await ct("4️⃣ Check 'licenseTree.json' file", "license-report-check", ["--source", "licenses/licenseTree.json", "--output=table", ...s])) : (W("3️⃣ Skip 'licenses/licenseTree.json' file generate"), W("4️⃣ Skip 'licenses/licenseTree.json' file check")), await ar("licenses/downloads"), await ct("5️⃣ Download license files", "license-downloader", [
5429
+ ), await ct("4️⃣ Check 'licenseTree.json' file", "license-report-check", ["--source", "licenses/licenseTree.json", "--output=table", ...s])) : (K("3️⃣ Skip 'licenses/licenseTree.json' file generate"), K("4️⃣ Skip 'licenses/licenseTree.json' file check")), await nr("licenses/downloads"), await ct("5️⃣ Download license files", "license-downloader", [
5430
5430
  "--source",
5431
5431
  "licenses/licenses.json",
5432
5432
  "--licDir",
@@ -5434,17 +5434,17 @@ async function Br(t = [], e = !0) {
5434
5434
  "--githubToken.tokenEnvVar",
5435
5435
  "GITHUB_TOKEN",
5436
5436
  "--download"
5437
- ]), await Sr("6️⃣", e), St("Dependencies documented.");
5437
+ ]), await Pr("6️⃣", e), St("Dependencies documented.");
5438
5438
  } catch (s) {
5439
5439
  console.error("❌ Error documenting dependencies.", s), process.exit(1);
5440
5440
  }
5441
5441
  }
5442
- async function Sr(t, e) {
5443
- W(`${t} Insert licenses into 'README.md'`);
5442
+ async function Pr(t, e) {
5443
+ K(`${t} Insert licenses into 'README.md'`);
5444
5444
  const s = await et("licenses/licenses.json"), a = await et("licenses/downloads/licenses.ext.json");
5445
5445
  let o = [];
5446
5446
  e && (o = await et("licenses/licenseTree.json"));
5447
- const f = [
5447
+ const l = [
5448
5448
  ...(() => {
5449
5449
  const h = /* @__PURE__ */ new Map();
5450
5450
  for (const P of s)
@@ -5463,16 +5463,16 @@ async function Sr(t, e) {
5463
5463
  let d = `|Name|Type|Installed|Latest|Latest Released|Deps|Document|
5464
5464
  |:-|:-|:-:|:-:|:-|-:|:-|
5465
5465
  `;
5466
- for (const h of f) {
5467
- const P = h.installedVersion === h.remoteVersion ? h.installedVersion : `${h.installedVersion} ⚠️`, N = h.latestRemoteModified ? Pr(h.latestRemoteModified.split("T")[0]) : "n/a", B = h.dependencyCount != null && h.dependencyCount >= 0 ? h.dependencyCount : "n/a";
5466
+ for (const h of l) {
5467
+ const P = h.installedVersion === h.remoteVersion ? h.installedVersion : `${h.installedVersion} ⚠️`, N = h.latestRemoteModified ? Cr(h.latestRemoteModified.split("T")[0]) : "n/a", B = h.dependencyCount != null && h.dependencyCount >= 0 ? h.dependencyCount : "n/a";
5468
5468
  let nt;
5469
5469
  h.licenseFileLink == null || h.licenseFileLink == "" ? nt = "⚠️ No license file" : nt = `[${h.licenseFileLink.slice(Math.max(0, h.licenseFileLink.lastIndexOf("/") + 1))}](${h.licenseFileLink})`, d += `|${h.name}|${h.licenseType}|${P}|${h.remoteVersion}|${N}|${B}|${nt}|
5470
5470
  `;
5471
5471
  }
5472
- const v = await At("./README.md"), g = Ui(v, d, br, Tr);
5472
+ const v = await At("./README.md"), g = Ui(v, d, Tr, Sr);
5473
5473
  await $t("README.md", g), console.info("OWASP audit badge(s) inserted into 'README.md'"), await $t("README.md", g);
5474
5474
  }
5475
- function Pr(t) {
5475
+ function Cr(t) {
5476
5476
  if (t == null || t === "") return "n/a";
5477
5477
  const e = t.split("T")[0];
5478
5478
  if (e == null || e === "") return "n/a";
@@ -5480,42 +5480,44 @@ function Pr(t) {
5480
5480
  let o = (a.getFullYear() - s.getFullYear()) * 12 + (a.getMonth() - s.getMonth());
5481
5481
  return a.getDate() < s.getDate() && (o -= 1), o === 0 ? `this month: ${e}` : o === 1 ? `1 month ago: ${e}` : o <= 6 ? `${o} months ago: ${e}` : o <= 12 ? `${o} months ago: ${e} ⚠️` : `${o} months ago: ${e}❗`;
5482
5482
  }
5483
- async function jr() {
5483
+ async function Ur() {
5484
5484
  try {
5485
- xt("Format Code"), await dt("1️⃣ Format", "prettier", ["--write", "*.json", "*.md", "*.ts", "app/**", "src/**"]), St("Code formatted.");
5485
+ xt("Format Code");
5486
+ const s = ["--write", "*.json", "*.md", "*.ts", ...["app", "src"].filter((a) => Xi(a)).map((a) => `${a}/**`)];
5487
+ await dt("1️⃣ Format", "prettier", s), St("Code formatted.");
5486
5488
  } catch (t) {
5487
5489
  console.error("❌ Error formatting code.", t), process.exit(1);
5488
5490
  }
5489
5491
  }
5490
- async function Ur() {
5492
+ async function qr() {
5491
5493
  try {
5492
5494
  xt("Lint Code"), await dt("1️⃣ Lint", "eslint", ["."]), St("Code linted.");
5493
5495
  } catch (t) {
5494
5496
  console.error("❌ Error linting code.", t), process.exit(1);
5495
5497
  }
5496
5498
  }
5497
- const Cr = ["1️⃣", "2️⃣", "3️⃣", "4️⃣", "5️⃣", "6️⃣", "7️⃣", "8️⃣", "9️⃣"];
5498
- async function qr(t = []) {
5499
+ const kr = ["1️⃣", "2️⃣", "3️⃣", "4️⃣", "5️⃣", "6️⃣", "7️⃣", "8️⃣", "9️⃣"];
5500
+ async function Hr(t = []) {
5499
5501
  try {
5500
5502
  xt("Update '@datapos/datapos' Dependencies");
5501
5503
  for (const [e, s] of t.entries()) {
5502
- const a = Cr.at(e) ?? "🔢";
5503
- await dt(`${a} Update '${s}'`, "npm", ["install", `@datapos/datapos-${s}@latest`]), s === "development" && await kr();
5504
+ const a = kr.at(e) ?? "🔢";
5505
+ await dt(`${a} Update '${s}'`, "npm", ["install", `@datapos/datapos-${s}@latest`]), s === "development" && await wr();
5504
5506
  }
5505
5507
  St("'@datapos/datapos' dependencies updated.");
5506
5508
  } catch (e) {
5507
5509
  console.error("❌ Error updating '@datapos/datapos' dependencies.", e), process.exit(1);
5508
5510
  }
5509
5511
  }
5510
- async function kr(t) {
5512
+ async function wr(t) {
5511
5513
  const e = te.dirname(ri(import.meta.url));
5512
5514
  await Zt(e, "../", ".editorconfig"), await Zt(e, "../", ".gitattributes"), await Zt(e, "../", ".markdownlint.json"), await Zt(e, "../", "LICENSE");
5513
5515
  }
5514
5516
  async function Zt(t, e, s) {
5515
- const a = te.resolve(t, `${e}${s}`), o = await At(a), f = te.resolve(process.cwd(), s);
5517
+ const a = te.resolve(t, `${e}${s}`), o = await At(a), l = te.resolve(process.cwd(), s);
5516
5518
  let d;
5517
5519
  try {
5518
- d = await At(f);
5520
+ d = await At(l);
5519
5521
  } catch (v) {
5520
5522
  if (v.code !== "ENOENT") throw v;
5521
5523
  }
@@ -5523,17 +5525,17 @@ async function Zt(t, e, s) {
5523
5525
  console.info(`ℹ️ File '${s}' is already up to date.`);
5524
5526
  return;
5525
5527
  }
5526
- await $t(f, o), console.info(`ℹ️ File '${s}' synchronised.`);
5528
+ await $t(l, o), console.info(`ℹ️ File '${s}' synchronised.`);
5527
5529
  }
5528
- async function Hr(t) {
5530
+ async function $r(t) {
5529
5531
  try {
5530
5532
  console.info(`🚀 Building public directory index for identifier '${t}'...`);
5531
5533
  const e = {};
5532
- async function s(o, f) {
5534
+ async function s(o, l) {
5533
5535
  console.info(`⚙️ Processing directory '${o}'...`);
5534
5536
  const d = [], v = o.slice(`public/${t}`.length);
5535
5537
  e[v === "" ? "/" : v] = d;
5536
- for (const g of f) {
5538
+ for (const g of l) {
5537
5539
  const h = `${o}/${g}`;
5538
5540
  try {
5539
5541
  const P = await at.stat(h);
@@ -5541,7 +5543,7 @@ async function Hr(t) {
5541
5543
  const N = await at.readdir(h), B = { childCount: N.length, name: g, typeId: "folder" };
5542
5544
  d.push(B), await s(h, N);
5543
5545
  } else {
5544
- const N = { id: Xi(), lastModifiedAt: P.mtimeMs, name: g, size: P.size, typeId: "object" };
5546
+ const N = { id: Qi(), lastModifiedAt: P.mtimeMs, name: g, size: P.size, typeId: "object" };
5545
5547
  d.push(N);
5546
5548
  }
5547
5549
  } catch (P) {
@@ -5560,16 +5562,16 @@ async function Hr(t) {
5560
5562
  }
5561
5563
  }
5562
5564
  export {
5563
- Vr as auditDependencies,
5564
- Hr as buildDirectoryIndex,
5565
- Or as buildProject,
5566
- Fr as checkDependencies,
5567
- Br as documentDependencies,
5568
- jr as formatCode,
5569
- Ur as lintCode,
5570
- Rr as releaseProject,
5571
- Mr as syncProjectWithGitHub,
5572
- Dr as testProject,
5573
- qr as updateDataPosDependencies
5565
+ Fr as auditDependencies,
5566
+ $r as buildDirectoryIndex,
5567
+ Rr as buildProject,
5568
+ Br as checkDependencies,
5569
+ jr as documentDependencies,
5570
+ Ur as formatCode,
5571
+ qr as lintCode,
5572
+ Mr as releaseProject,
5573
+ Dr as syncProjectWithGitHub,
5574
+ Vr as testProject,
5575
+ Hr as updateDataPosDependencies
5574
5576
  };
5575
5577
  //# sourceMappingURL=datapos-development.es.js.map